and Joshua cast lots for them in Shiloh before the Lord. And there Joshua apportioned the land to the people of Israel, to each his portion.