Then Joshua cast lots for them in Shiloh before Adonai, and there Joshua apportioned the land to Bnei-Yisrael according to their divisions.