Commentaries
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.
7. the ark of God shall not abide with us—It was removed successively to several of the large towns of the country, but the same pestilence broke out in every place and raged so fiercely and fatally that the authorities were forced to send the ark back into the land of Israel [1Sa 5:8-10].