But the hand of Yahweh was heavy on them of Ashdod, and he destroyed them, and struck them with tumors, even Ashdod and the borders of it.
"And the cry of the city went up to heaven"  (1 Samuel 5:12).  Not only did the Philistines pray to God for deliverance, God heard their prayer!