I will cut off the inhabitant from Ashdod, And him who holds the scepter from Ashkelon; And I will turn my hand against Ekron; And the remnant of the Philistines will perish," says the Lord Yahweh.
So in their conquering of the people of God, they turned the captives, or sold them to the Edomites their perennial enemies.