19 No city made peace with the Israelites except the Hivites who inhabited Gibeon; all of them were taken in battle.
20 For it was the Lord’s intention to harden their hearts, so that they would engage Israel in battle, be completely destroyed without mercy, and be annihilated, just as the Lord had commanded Moses.
21 At that time Joshua proceeded to exterminate the Anakim from the hill country — Hebron, Debir, Anab — all the hill country of Judah and of Israel. Joshua completely destroyed them with their cities.
22 No Anakim were left in the land of the Israelites, except for some remaining in Gaza, Gath, and Ashdod.
23 So Joshua took the entire land, in keeping with all that the Lord had told Moses. Joshua then gave it as an inheritance to Israel according to their tribal allotments. After this, the land had rest from war.