...in that day will I make Jerusalem a burdensome stone for all the nations. All that burden themselves with it shall be cut in pieces, though all the people of the earth be gathered together against it. - Zach 12:3
From what I can tell, that will happen twice.
Once, in the not too distant future, just before Satan is shut up and cast into prison in a bottomless pit with a giant chain for 1000 years. Rev. 19:19-20:3
Then, after 1000 years, just after Satan is released from prison just before he's thrown into the lake of fire forever (Rev. 20:7-10). No more attacks on God and his people.
The guy just wouldn't learn.
Amos 1:6-8
6 This is what the Lord says:
“For three sins of Gaza,
even for four, I will not relent.
Because she took captive whole communities
and sold them to Edom,
7 I will send fire on the walls of Gaza
that will consume her fortresses.
8 I will destroy the king[d] of Ashdod
and the one who holds the scepter in Ashkelon.
I will turn my hand against Ekron,
till the last of the Philistines are dead,”
says the Sovereign Lord.