Deuteronomy 2:23 (ESV)

23 As for the Avvim, who lived in villages as far as Gaza, the Caphtorim, who came from Caphtor, destroyed them and settled in their place.)

The Avvim were the ancient inhabitants of southwestern Palestine. They were destroyed and dispossessed by the Caphtorim, which was apparently an early name for the Philistines, who had come to Palestine from Caphtor, which was possibly Crete.