Joshua 11:18-23

11:18 Joshua campaigned against these kings for quite some time. 11:19 No city made peace with the Israelites (except the Hivites living in Gibeon); they had to conquer all of them, 11:20 for the Lord determined to make them obstinate so they would attack Israel. He wanted Israel to annihilate them without mercy, as he had instructed Moses.

11:21 At that time Joshua attacked and eliminated the Anakites from the hill country – from Hebron, Debir, Anab, and all the hill country of Judah and Israel. Joshua annihilated them and their cities. 11:22 No Anakites were left in Israelite territory, though some remained in Gaza, Gath, and Ashdod. 11:23 Joshua conquered the whole land, just as the Lord had promised Moses, and he assigned Israel their tribal portions. Then the land was free of war.