1The men of Kiriath-jearim came and took up the ark of the LORD. They brought it to Abinadab’s house on the hill and consecrated his son Eleazar to guard the ark of the LORD. 2A long time passed from the day the ark came to stay in Kiriath-jearim, twenty years in all, and the whole house of Israel longed for the LORD.
3Samuel told the whole house of Israel, “If you are returning to the LORD with all your heart, remove the foreign gods and the Ashtaroth from among you. Set your heart on the LORD and serve him alone, and he will rescue you from the hand of the Philistines.” 4So the Israelites removed the Baals and the Ashtaroth and served the LORD alone.
5Samuel said, “Gather all Israel at Mizpah, and I will pray to the LORD for you.” 6They gathered at Mizpah, drew water, and poured it out before the LORD. They fasted that day and said there, “We have sinned against the LORD.” Samuel judged the Israelites at Mizpah.
7The Philistines heard that the Israelites had gathered at Mizpah, and the Philistine rulers went up against Israel. When the Israelites heard, they were afraid of the Philistines. 8The Israelites said to Samuel, “Don’t stop crying out to the LORD our God on our behalf, so he will save us from the hand of the Philistines.” 9Samuel took a nursing lamb and offered it whole as a burnt offering to the LORD. Samuel cried out to the LORD on behalf of Israel, and the LORD answered him. 10As Samuel was offering the burnt offering, the Philistines drew near to fight Israel. But that day the LORD thundered loudly against the Philistines and threw them into confusion, and they were defeated before Israel. 11The men of Israel went out from Mizpah, pursued the Philistines, and struck them down as far as the place below Beth-car.
12Samuel took a stone and set it between Mizpah and Shen. He named it Ebenezer and said, “As far as here the LORD has helped us.” 13So the Philistines were subdued and did not come into Israel’s territory again. The hand of the LORD was against the Philistines throughout Samuel’s days. 14The towns the Philistines had taken from Israel were restored to Israel, from Ekron to Gath, and Israel recovered their territory from the hand of the Philistines. There was peace between Israel and the Amorites.
15Samuel judged Israel all the days of his life. 16Year after year he went on a circuit to Bethel, Gilgal, and Mizpah, judging Israel in all these places. 17Then he returned to Ramah, where his home was. There he judged Israel and built an altar to the LORD.