Gath and Ashkelon are two of the Philistines' major cities. The Philistines killed Saul and Jonathan.
This phrase refers to people who do not follow Yahweh, such as the Philistines.