When the Philistines captured the ark of God, they brought it from Ebenezer to Ashdod;
then the Philistines took the ark of God and brought it into the house of Dagon and placed it beside Dagon.
When the people of Ashdod rose early the next day, there was Dagon, fallen on his face to the ground before the ark of the Lord. So they took Dagon and put him back in his place.
But when they rose early on the next morning, Dagon had fallen on his face to the ground before the ark of the Lord, and the head of Dagon and both his hands were lying cut off upon the threshold; only the trunk of Dagon was left to him.
References for 1 Samuel 5:4
This is why the priests of Dagon and all who enter the house of Dagon do not step on the threshold of Dagon in Ashdod to this day.
The hand of the Lord was heavy upon the people of Ashdod, and he terrified and struck them with tumors, both in Ashdod and in its territory.
And when the inhabitants of Ashdod saw how things were, they said, "The ark of the God of Israel must not remain with us; for his hand is heavy on us and on our god Dagon."
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?" The inhabitants of Gath replied, "Let the ark of God be moved on to us." So they moved the ark of the God of Israel to Gath.
References for 1 Samuel 5:8
But after they had brought it to Gath, the hand of the Lord was against the city, causing a very great panic; he struck the inhabitants of the city, both young and old, so that tumors broke out on them.
References for 1 Samuel 5:9
So they sent the ark of the God of Israel to Ekron. But when the ark of God came to Ekron, the people of Ekron cried out, "Why have they brought around to us the ark of the God of Israel to kill us and our people?"
References for 1 Samuel 5:10
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;
References for 1 Samuel 5:11