Moses also gave this order to the Israelites: “This is the land, to be apportioned among you by lot, which the Lord has commanded to be given to the nine and a half tribes.
Thus Joshua took the whole land, just as the Lord had said to Moses. Joshua gave it to Israel as their heritage, apportioning it among the tribes. And the land had rest from war.