Joshua 11:21-23 (New International Version)
New International Version (NIV)
21 At that time Joshua went and destroyed the Anakites from the hill country: from Hebron, Debir and Anab, from all the hill country of Judah, and from all the hill country of Israel. Joshua totally destroyed them and their towns. 22 No Anakites were left in Israelite territory; only in Gaza, Gath and Ashdod did any survive.
23 So Joshua took the entire land, just as the Lord had directed Moses, and he gave it as an inheritance to Israel according to their tribal divisions. Then the land had rest from war.