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