The whole community of the Israelites assembled at Shiloh and set up the meeting tent there. The conquered land lay before them.
Among the Israelites, seven tribes were left that had not yet received their legacy.
Joshua said to the Israelites, "How long will you avoid going to take over the land that the LORD, the God of your ancestors, has given you?
Pick out three men for each tribe. I will send them out, and they will go up and travel throughout the land. They will write a description of it as the basis for determining their legacy. Then they will come back to me.
They will divide up the land among themselves into seven portions. Judah will stay on its territory to the south. The house of Joseph will stay on their territory to the north.
But you will write a report in seven parts and bring the report back here to me. Then I will cast the lot for you here, before the LORD our God.
However, there won't be a portion among you for the Levites because their legacy is the priesthood of the LORD. Gad, Reuben, and half the tribe of Manasseh have already received their legacy on the east side of the Jordan. Moses the LORD's servant gave it to them."
When the men had prepared to go, Joshua gave orders to those going to write a description of the land. "Go and travel around the land, write about it, and return to me. I will cast the lot for you before the LORD here in Shiloh."
So the men went and passed through the land and wrote about it in a document, city by city, in seven sections. They came back to Joshua in the camp at Shiloh.
Then Joshua cast lots for them in Shiloh before the LORD. There Joshua divided up the shares of the land for the Israelites.