Moses commanded the Israelites, saying: This is the land which you will possess by lot, which the Lord commanded to give to the nine tribes, and to the half-tribe
So Joshua took the whole land according to all that the Lord had said to Moses. Joshua gave it to Israel as an inheritance according to their allotted portions by their tribes. Then the land rested from war.