8 Therefore they sent and gathered to themselves all the lords of the Philistines, and said, "What shall we do with the ark of the God of Israel?" And they answered, "Let the ark of the God of Israel be carried away to Gath." So they carried the ark of the God of Israel away. 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. 10 Therefore they sent the ark of God to Ekron. So it was, as the ark of God came to Ekron, that the Ekronites cried out, saying, "They have brought the ark of the God of Israel to us, to kill us and our people!"
Matthew Henry's Commentary on 1 Samuel 5:8-10
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.