1 Samuel 7:3-5 English Revised Version (ERV)

3. And Samuel spake unto all the house of Israel, saying, If ye do return unto the LORD with all your heart, then put away the strange gods and the Ashtaroth from among you, and prepare your hearts unto the LORD, and serve him only: and he will deliver you out of the hand of the Philistines.

4. Then the children of Israel did put away the Baalim and the Ashtaroth, and served the LORD only.

5. And Samuel said, Gather all Israel to Mizpah, and I will pray for you unto the LORD.

1 Samuel 7