Joshua 11:21-23 Amplified Bible (AMP)
21 Then Joshua came at that time and cut off the [a]Anakim from the hill country, from Hebron, from Debir, from Anab and from all the hill country of Judah and all the hill country of Israel. Joshua utterly destroyed them with their cities. 22 There were no Anakim left in the land of the children of Israel; only in Gaza, in Gath, and in Ashdod [of Philistia] some remained. 23 So Joshua took the whole land [of Canaan], according to all that the Lord had spoken to Moses, and Joshua gave it as an inheritance to Israel according to their divisions by their tribes. So the land had rest from war.
Joshua 11:21-23 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.