Joshua 18:9-10
18:9 The men journeyed through the land and mapped it and its cities out into seven regions on a scroll. Then they came to Joshua at the camp in Shiloh.
18:10 Joshua drew lots for them in Shiloh before the Lord and divided the land among the Israelites according to their allotted portions.