1. So the people of Kiriath Jearim got the LORD's Covenant Box and took it to the house of a man named Abinadab, who lived on a hill. They consecrated his son Eleazar to be in charge of it.
2. The Covenant Box of the LORD stayed in Kiriath Jearim a long time, some twenty years. During this time all the Israelites cried to the LORD for help.
3. Samuel said to the people of Israel, "If you are going to turn to the LORD with all your hearts, you must get rid of all the foreign gods and the images of the goddess Astarte. Dedicate yourselves completely to the LORD and worship only him, and he will rescue you from the power of the Philistines."
4. So the Israelites got rid of their idols of Baal and Astarte, and worshiped only the LORD.
5. Then Samuel called for all the Israelites to meet at Mizpah, telling them, "I will pray to the LORD for you there."
6. So they all gathered at Mizpah. They drew some water and poured it out as an offering to the LORD and fasted that whole day. They said, "We have sinned against the LORD." (It was at Mizpah where Samuel settled disputes among the Israelites.)
7. When the Philistines heard that the Israelites had gathered at Mizpah, the five Philistine kings started out with their men to attack them. The Israelites heard about it and were afraid,
8. and said to Samuel, "Keep praying to the LORD our God to save us from the Philistines."
9. Samuel killed a young lamb and burned it whole as a sacrifice to the LORD. Then he prayed to the LORD to help Israel, and the LORD answered his prayer.
10. While Samuel was offering the sacrifice, the Philistines moved forward to attack; but just then the LORD thundered from heaven against them. They became completely confused and fled in panic.
11. The Israelites marched out from Mizpah and pursued the Philistines almost as far as Bethcar, killing them along the way.
12. Then Samuel took a stone, set it up between Mizpah and Shen, and said, "The LORD has helped us all the way"---and he named it "Stone of Help."
13. So the Philistines were defeated, and the LORD prevented them from invading Israel's territory as long as Samuel lived.
14. All the cities which the Philistines had captured between Ekron and Gath were returned to Israel, and so Israel got back all its territory. And there was peace also between the Israelites and the Canaanites.
15. Samuel ruled Israel as long as he lived.
16. Every year he would go around to Bethel, Gilgal, and Mizpah, and in these places he would settle disputes.
17. Then he would go back to his home in Ramah, where also he would serve as judge. In Ramah he built an altar to the LORD.