1. Samuel said to all the people of Israel, “If you are really turning to the LORD with all your hearts, remove from among you the foreign gods and the images of Ashtoreth. Give your hearts to the LORD and serve only him. Then he will deliver you from the hand of the Philistines.”
  2. So the Israelites removed the Ba-als and images of Ashtoreth. They served only the LORD.
  3. Then Samuel said, “Gather all Israel to Mizpah, and I will pray to the LORD on your behalf.”
  4. After they had assembled at Mizpah, they drew water and poured it out before the LORD. They fasted on that day, and they confessed there, “We have sinned against the LORD.” So Samuel led the people of Israel at Mizpah.
  5. When the Philistines heard that the Israelites had gathered at Mizpah, the leaders of the Philistines went up against Israel. When the Israelites heard about this, they were afraid of the Philistines.
  6. The Israelites said to Samuel, “Keep crying out to the LORD our God so that he may save us from the hand of the Philistines!”
  7. …Samuel cried out to the LORD on Israel’s behalf, and the LORD answered him.
     
  8. As Samuel was offering burnt offerings, the Philistines approached to do battle with Israel. But on that day the LORD thundered loudly against the Philistines. He caused them to panic, and they were defeated by Israel.
  9. Then the men of Israel left Mizpah and chased the Philistines, striking them down all the way to an area below Beth Car.
  10. Samuel took a stone and placed it between Mizpah and Shen. He named it Ebenezer [stone of help], saying, “Up to here the LORD has helped us.”
  11. So the Philistines were defeated; they did not invade Israel again. The hand of the LORD was against the Philistines all the days of Samuel.

based on NET Bible