Joshua drew lots to consult the Lord for them, and assigned each of the remaining tribes of Israel a certain part of the land.