6 But the hand of Yahweh was heavy on them of Ashdod, and he destroyed them, and struck them with tumors, even Ashdod and its borders. 7 When the men of Ashdod saw that it was so, they said, “The ark of the God of Israel shall not abide with us; for his hand is severe on us, and on Dagon our god.” 8 They sent therefore and gathered all the lords of the Philistines to them, 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 carried over to Gath.” They carried the ark of the God of Israel there.

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

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.