New King James Version (NKJV)
1 Samuel 6
16 So when the five lords of the Philistines had seen it, they returned to Ekron the same day.
17 These are the golden tumors which the Philistines returned as a trespass offering to the Lord: one for Ashdod, one for Gaza, one for Ashkelon, one for Gath, one for Ekron;
18 and the golden rats, according to the number of all the cities of the Philistines belonging to the five lords, both fortified cities and country villages, even as far as the large stone of Abel on which they set the ark of the Lord, which stone remains to this day in the field of Joshua of Beth Shemesh.
19 Then He struck the men of Beth Shemesh, because they had looked into the ark of the Lord. He struck fifty thousand and seventy men of the people, and the people lamented because the Lord had struck the people with a great slaughter.
20 And the men of Beth Shemesh said, "Who is able to stand before this holy Lord God? And to whom shall it go up from us?"
21 So they sent messengers to the inhabitants of Kirjath Jearim, saying, "The Philistines have brought back the ark of the Lord; come down and take it up with you."
1 Samuel 7
1 Then the men of Kirjath Jearim came and took the ark of the Lord, and brought it into the house of Abinadab on the hill, and consecrated Eleazar his son to keep the ark of the Lord.
2 So it was that the ark remained in Kirjath Jearim a long time; it was there twenty years. And all the house of Israel lamented after the Lord.
3 Then Samuel spoke to all the house of Israel, saying, "If you return to the Lord with all your hearts, then put away the foreign gods and the Ashtoreths from among you, and prepare your hearts for the Lord, and serve Him only; and He will deliver you from the hand of the Philistines."
4 So the children of Israel put away the Baals and the Ashtoreths, and served the Lord only.
5 And Samuel said, "Gather all Israel to Mizpah, and I will pray to the Lord for you."