9 So it was, after they had carried it away, that the hand of the Lord was against the city with a very great destruction; and He struck the men of the city, both small and great, and tumors broke out on them.

Matthew Henry's Commentary on 1 Samuel 5:9

Commentary on 1 Samuel 5:6-12

(Read 1 Samuel 5:6-12)

The hand of the Lord was heavy upon the Philistines; he not only convinced them of their folly, but severely chastised their insolence. Yet they would not renounce Dagon; and instead of seeking God's mercy, they desired to get clear of his ark. Carnal hearts, when they smart under the judgments of God, would rather, if it were possible, put him far from them, than enter into covenant or communion with him, and seek him for their friend. But their devices to escape the Divine judgments only increase them. Those that fight against God will soon have enough of it.