16-20Joshua took the whole country: the mountains, the southern desert, all of Goshen, the foothills, the valley (the Arabah), and the Israel mountains with their foothills, from Mount Halak, which towers over the region of Seir, all the way to Baal Gad in the Valley of Lebanon in the shadows of Mount Hermon. He captured their kings and then killed them. Joshua fought against these kings for a long time. Not one town made peace with the People of Israel, with the one exception of the Hivites who lived in Gibeon. Israel fought and took all the rest. It was God's idea that they all would stubbornly fight the Israelites so he could put them under the holy curse without mercy. That way he could destroy them just as God had commanded Moses.
21-22Joshua came out at that time also to root out the Anakim from the hills, from Hebron, from Debir, from Anab, from the mountains of Judah, from the mountains of Israel. Joshua carried out the holy curse on them and their cities. No Anakim were left in the land of the People of Israel, except in Gaza, Gath, and Ashdod—there were a few left there.