The whole assembly of the Israelites gathered at Shiloh and set up the tent of meeting there. The country was brought under their control,
References for Joshua 18:1
but there were still seven Israelite tribes who had not yet received their inheritance.
So Joshua said to the Israelites: “How long will you wait before you begin to take possession of the land that the LORD, the God of your ancestors, has given you?
Appoint three men from each tribe. I will send them out to make a survey of the land and to write a description of it, according to the inheritance of each. Then they will return to me.
References for Joshua 18:4
You are to divide the land into seven parts. Judah is to remain in its territory on the south and the tribes of Joseph in their territory on the north.
References for Joshua 18:5
After you have written descriptions of the seven parts of the land, bring them here to me and I will cast lots for you in the presence of the LORD our God.
References for Joshua 18:6