After the Philistines had captured the ark of God, they took it from Ebenezer1 to Ashdod.2
References for 1 Samuel 5:1
Then they carried the ark into Dagon's temple and set it beside Dagon.3
References for 1 Samuel 5:2
When the people of Ashdod rose early the next day, there was Dagon, fallen4 on his face on the ground before the ark of the LORD! They took Dagon and put him back in his place.
References for 1 Samuel 5:3
But the following morning when they rose, there was Dagon, fallen on his face on the ground before the ark of the LORD! His head and hands had been broken5 off and were lying on the threshold; only his body remained.
References for 1 Samuel 5:4
That is why to this day neither the priests of Dagon nor any others who enter Dagon's temple at Ashdod step on the threshold.6
References for 1 Samuel 5:5
The LORD's hand7 was heavy upon the people of Ashdod and its vicinity; he brought devastation8 upon them and afflicted them with tumors.9
References for 1 Samuel 5:6
When the men of Ashdod saw what was happening, they said, "The ark of the god of Israel must not stay here with us, because his hand is heavy upon us and upon Dagon our god."
So they called together all the rulers10 of the Philistines and asked them, "What shall we do with the ark of the god of Israel?" They answered, "Have the ark of the god of Israel moved to Gath.11" So they moved the ark of the God of Israel.
References for 1 Samuel 5:8
But after they had moved it, the LORD's hand was against that city, throwing it into a great panic.12 He afflicted the people of the city, both young and old, with an outbreak of tumors.
References for 1 Samuel 5:9