Joshua 18:8

18:8 When the men started out, Joshua told those going to map out the land, “Go, walk through the land, map it out, and return to me. Then I will draw lots for you before the Lord here in Shiloh.”

Joshua 18:10

18:10 Joshua drew lots for them in Shiloh before the Lord and divided the land among the Israelites according to their allotted portions.