The LORD's hand was heavy on the people of Ashdod: God terrified them and struck them in Ashdod and its surroundings with tumors.
References for 1 Samuel 5:6
When Ashdod's inhabitants saw what was happening, they said, "The chest of Israel's God must not stay here with us because his hand is hard against us and against our god Dagon."
So they summoned all the Philistine rulers to a meeting and asked, "What should we do with the chest of Israel's God?" The people of Gath said, "Let the chest of Israel's God be moved to us." So they moved the chest of Israel's God to Gath.
References for 1 Samuel 5:8
But once they moved it, the LORD's hand came against the city, causing a huge panic. God struck the city's inhabitants, both young and old, and tumors broke out on them.
Then they sent God's chest to Ekron, but as soon as God's chest entered Ekron, the inhabitants cried out, "Why have you moved the chest of Israel's God to us? In order to kill us and our people?"
References for 1 Samuel 5:10
So they summoned all the Philistine rulers to a meeting and said, "Send the chest of Israel's God away! Let it go back to its own home so it doesn't kill us and our people," because there was a deadly panic throughout the whole city. The hand of God was very heavy there.
The people who didn't die were struck with tumors, and the screams of the city went all the way up to heaven.