So Joshua took the whole land, according to all that the Lord had said to Moses; and Joshua gave it as an inheritance to Israel according to their divisions by their tribes. Then the land rested from war.