After the people of Israel entered the land of Canaan and before they had kings to rule them, God appointed leaders called "judges" to lead them in times of trouble.
To be in authority is referred to as being over someone. Alternate translation: "to rule my people Israel" (See: [[rc://en/ta/man/translate/figs-idiom]])
If in [2 Samuel 7:8-9](./08.md) you translated the direct quotations as indirect quotation, then here you may need to translate "you" as "him" or "his." Alternate translation: "Now I will give him rest from all his enemies ... declare to him that I will make him a house" (See: [[rc://en/ta/man/translate/figs-quotesinquotes]] and [[rc://en/ta/man/translate/figs-quotations]])
"I will give you safety from all your enemies." Here "rest" is an abstract noun. Alternate translation: "I will make all your enemies stop attacking you" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])
Here the metonym "house" refers to David's ancestors continuing on as the rulers of Israel. In [2 Samuel 7:4](../07/04.md) Yahweh asked David if he would be the one to build a house for Yahweh. There "house" represented a temple. If your language has a word that can express both ideas, use it here and in 7:4. (See: [[rc://en/ta/man/translate/figs-metonymy]])