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.
The six nations previously mentioned did not have God’s law so they are not condemned by that law. They are condemned for ignoring the knowledge of right and wrong that God has put in the hearts of all people. Their inhumanity and cruelty are inexcusable (cf. Romans 2:12-15). But Judah did have God’s law. It is condemned for disobeying that law and going its own way (4-5).