Joshua 11:22-23

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.