So also the Caphtorim, who came from Caphtor (Genesis 10:14), probably the island of Crete (Ritter, 3:262), drove out the Avim, a Canaanitish race, who dwelt in villages (Hazerim, חֲצֵרִים) as far as Gaza (Azzah), and took possession of their land; though it would appear some of them still remained among the Philistines (who were Caphtorites, Amos 9:7; Jeremiah 47:4), and were among the tribes not subdued by the Israelites under Joshua (Joshua 13:3).
These Caphtorim were, like the Israelites, immigrants, who drove out the original occupants of the country; and on this account, probably, are referred to by Moses here. "This is so often repeated, to possess the minds of the Israelites with a sense of God's providence, which rules everywhere; displacing one people, and settling another in their stead, and fixing their bounds, also, which they shall not pass without leave" (Patrick).