Joshua 11:21-23
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.