There Joshua threw lots in the presence of the Lord to choose the lands that should be given to each tribe.