The ark of the Lord was in the country of the Philistines seven months.
Then the Philistines called for the priests and the diviners and said, "What shall we do with the ark of the Lord? Tell us what we should send with it to its place."
They said, "If you send away the ark of the God of Israel, do not send it empty, but by all means return him a guilt offering. Then you will be healed and will be ransomed; will not his hand then turn from you?"
References for 1 Samuel 6:3
And they said, "What is the guilt offering that we shall return to him?" They answered, "Five gold tumors and five gold mice, according to the number of the lords of the Philistines; for the same plague was upon all of you and upon your lords.
So you must make images of your tumors and images of your mice that ravage the land, and give glory to the God of Israel; perhaps he will lighten his hand on you and your gods and your land.
Why should you harden your hearts as the Egyptians and Pharaoh hardened their hearts? After he had made fools of them, did they not let the people go, and they departed?