Then Joshua cast lots for them in Shiloh before the Lord, and there Joshua divided the land to the children of Israel according to their divisions.