The whole community of Israel gathered together at Shiloh. They set up the Tent of Meeting there. The country was brought under their control.
But there were still seven tribes in Israel who had not yet received their shares of land.
So Joshua spoke to the people of Israel. He said, "The Lord, the God of your people, has given you this land. How long will you wait before you begin to take it over?
Appoint three men from each tribe. I'll send them to map out the land. Then they'll write a report about its features. The report will point out the share of land each tribe will receive. Then the men will return to me.
"You must divide the land up into seven shares. Judah must remain in its territory in the south. The people in Joseph's family line must remain in their territory in the north.
Write reports about the features of those seven shares of land. Bring them here to me. Then I'll cast lots for you in the sight of the LORD our God.
"But the Levites don't get any share of your land. That's because their share is to serve the LORD as priests. "The tribes of Gad and Reuben and half of the tribe of Manasseh have already received their shares. They are on the east side of the Jordan River. Moses, the servant of the Lord, gave their shares to them."
The men started out on their way to map out the land. Joshua directed them, "Go and map out the land. Write a report about its features. Then return to me. I'll cast lots for you here at Shiloh in the sight of the Lord."
So the men left and went through the land. They wrote a report about its features on a scroll. It showed how they divided up the land into seven shares. It listed the towns that were in each share. The men returned to Joshua in the camp at Shiloh.
Then Joshua cast lots for them in Shiloh in the sight of the Lord. There he gave out a share of land to each of the remaining tribes in Israel.