1 Samuel 7:3-6

ISV(i) 3 The Philistines are Defeated at EbenezerThen Samuel told the whole house of Israel, “If you’re returning to the LORD with all your heart, then remove the foreign gods and the Ashtaroth from among you, direct your hearts back to the LORD, and serve him only. Then he will deliver you from the control of the Philistines.” 4 So the Israelis removed the Baals and Ashtaroth, and served the LORD only.
5 Samuel said, “Bring all Israel together at Mizpah, and I’ll pray to the LORD on your behalf.” 6 So they came together at Mizpah, drew water, and poured it out in the LORD’s presence.
On that day they fasted there and said, “We have sinned against the LORD.” Then Samuel judged the Israelis at Mizpah.