Shared ground
Zechariah 9:5–7 presents a domino effect across Philistine city-states: when they “see” what has happened, fear and anguish spread (Ashkelon, Gaza, Ekron). The text then describes political and social collapse—Gaza’s king is removed, Ashkelon is left empty, and Ashdod’s normal civic order is disrupted by an “outsider” figure settling there.
The speaker (“I”) frames the upheaval as purposeful: Philistine “pride” is cut off. Yet the passage does not end with only destruction. It moves to removal of “blood” and “abominations” (images of defiling violence or forbidden practices), and then to a surprising claim: survivors are brought into relationship with Israel’s God and described with language of belonging (like a leader in Judah; Ekron like a Jebusite).
Where interpretation differs
What the cities “see.” Some read “it” as the earlier judgment on a nearby power (especially Tyre) that triggers panic down the coast. Others take it as the Philistine cities directly seeing the same invading force arriving for them.
Who “a bastard” is in Ashdod. Some understand this as a mixed or socially disqualified population settling there after conquest and repopulation. Others read it more narrowly as an illegitimate or foreign ruler who replaces the old leadership.
What “blood…in his mouth” and “abominations…between his teeth” describe. Some take it as imagery of violent predation (bloodshed) being stopped. Others connect it to forbidden eating or idolatrous food practices; either way, the picture is of defilement being removed.
Who “he also” refers to. Some take the “he” as a representative Philistine (or the Philistine people as a whole spoken of as one). Others connect it to the “outsider” in v.6, now transformed from a sign of disorder into part of the remnant.
Why the disagreement exists
The Hebrew uses brief pronouns (“it,” “he”) and compressed images, and the passage shifts quickly from city-by-city judgments (vv.5–6) to cleansing and incorporation (v.7). That leaves multiple plausible links between the lines without changing the overall direction of the message.
What this passage clearly contributes
This text holds together two themes: (1) the collapse of false security and civic pride in Philistia (fear, lost king, empty city), and (2) the possibility of a surviving group being purified from defiling practices and folded into Judah’s life under Israel’s God. The “Jebusite” comparison underlines the surprising nature of that inclusion by pointing to a former outsider group later associated with Jerusalem’s story.