Joshua 19:51

51 This is the land that the tribes of Israel drew by lot. The priest Eleazar, Joshua son of Nun, and the leaders of the families divided the land by drawing lots. They did this in Shiloh in the presence of the LORD at the entrance of the tent of meeting. So they finished dividing the land.