6 The hand of the Lord was heavy against the people of Ashdod, and he terrified and afflicted them with tumors, both Ashdod and its territory. 7 And when the men of Ashdod saw how things were, they said, "The ark of the God of Israel must not remain with us, for his hand is hard against us and against Dagon our god." 8 So they sent and gathered together all the lords of the Philistines and said, "What shall we do with the ark of the God of Israel?" They answered, "Let the ark of the God of Israel be brought around to Gath." So they brought the ark of the God of Israel there. 9 But after they had brought it around, the hand of the Lord was against the city, causing a very great panic, and he afflicted the men of the city, both young and old, so that tumors broke out on them. 10 So they sent the ark of God to Ekron. But as soon as the ark of God came to Ekron, the people of Ekron cried out, "They have brought around to us the ark of the God of Israel to kill us and our people." 11 They sent therefore and gathered together all the lords of the Philistines and said, "Send away the ark of the God of Israel, and let it return to its own place, that it may not kill us and our people." For there was a deathly panic throughout the whole city. The hand of God was very heavy there. 12 The men who did not die were struck with tumors, and the cry of the city went up to heaven.

Matthew Henry's Commentary on 1 Samuel 5:6-12

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.