Then the whole congregation of the people of Israel assembled at Shiloh, and set up the tent of meeting there; the land lay subdued before them. There remained among the people of Israel seven tribes whose inheritance had not yet been apportioned.
So Joshua said to the people of Israel, "How long will you be slack to go in and take possession of the land, which the LORD, the God of your fathers, has given you? Provide three men from each tribe, and I will send them out that they may set out and go up and down the land, writing a description of it with a view to their inheritances, and then come to me. They shall divide it into seven portions, Judah continuing in his territory on the south, and the house of Joseph in their territory on the north. And you shall describe the land in seven divisions and bring the description here to me; and I will cast lots for you here before the LORD our God. The Levites have no portion among you, for the priesthood of the LORD is their heritage; and Gad and Reuben and half the tribe of Manas'seh have received their inheritance beyond the Jordan eastward, which Moses the servant of the LORD gave them."
So the men started on their way; and Joshua charged those who went to write the description of the land, saying, "Go up and down and write a description of the land, and come again to me; and I will cast lots for you here before the LORD in Shiloh."
So the men went and passed up and down in the land and set down in a book a description of it by towns in seven divisions; then they came to Joshua in the camp at Shiloh, and Joshua cast lots for them in Shiloh before the LORD; and there Joshua apportioned the land to the people of Israel, to each his portion.