So the people of Kiriath Jearim fetched 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.
2The 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.
3Samuel 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.” 4So the Israelites got rid of their idols of Baal and Astarte, and worshipped only the LORD.
5Then Samuel sent for all the Israelites to meet at Mizpah, saying, “I will pray to the LORD for you there.” 6So 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 that Samuel settled disputes among the Israelites.)
7When 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, 8and said to Samuel, “Keep praying to the LORD our God to save us from the Philistines.” 9Samuel killed a young lamb and burnt it whole as a sacrifice to the LORD. Then he prayed to the LORD to help Israel, and the LORD answered his prayer. 10While 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. 11The Israelites marched out from Mizpah and pursued the Philistines almost as far as Bethcar, killing them along the way.
12Then 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”. 13So the Philistines were defeated, and the LORD prevented them from invading Israel's territory as long as Samuel lived. 14All 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.
15Samuel ruled Israel as long as he lived. 16Every year he would go round to Bethel, Gilgal, and Mizpah, and in these places he would settle disputes. 17Then 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.