And the men of Kir'iath-je'arim came and took up the ark of the LORD, and brought it to the house of Abin'adab on the hill; and they consecrated his son, Elea'zar, to have charge of the ark of the LORD.
From the day that the ark was lodged at Kir'iath-je'arim, a long time passed, some twenty years, and all the house of Israel lamented after the LORD.
Then Samuel said to all the house of Israel, "If you are returning to the LORD with all your heart, then put away the foreign gods and the Ash'taroth from among you, and direct your heart to the LORD, and serve him only, and he will deliver you out of the hand of the Philistines."
So Israel put away the Ba'als and the Ash'taroth, and they served the LORD only.
Then Samuel said, "Gather all Israel at Mizpah, and I will pray to the LORD for you."
So they gathered at Mizpah, and drew water and poured it out before the LORD, and fasted on that day, and said there, "We have sinned against the LORD." And Samuel judged the people of Israel at Mizpah.
Now when the Philistines heard that the people of Israel had gathered at Mizpah, the lords of the Philistines went up against Israel. And when the people of Israel heard of it they were afraid of the Philistines.