Joshua 18:8

8 So the men started on their way; and Joshua charged those who went to write the description of the land, saying, "Go throughout the land and write a description of it, and come back to me; and I will cast lots for you here before the Lord in Shiloh."

Joshua 18:8 In-Context

6 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.
7 The Levites have no portion among you, for the priesthood of the Lord is their heritage; and Gad and Reuben and the half-tribe of Manasseh have received their inheritance beyond the Jordan eastward, which Moses the servant of the Lord gave them."
8 So the men started on their way; and Joshua charged those who went to write the description of the land, saying, "Go throughout the land and write a description of it, and come back to me; and I will cast lots for you here before the Lord in Shiloh."
9 So the men went and traversed the land and set down in a book a description of it by towns in seven divisions; then they came back to Joshua in the camp at Shiloh,
10 and Joshua cast lots for them in Shiloh before the Lord; and there Joshua apportioned the land to the Israelites, to each a portion.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.