Joshua threw lots for them in front of the Lord at Shiloh. In this way Joshua divided the land and gave each tribe its part of the land.