1 Samuel 7:2–3
2 From the day that the ark was lodged at Kiriath-jearim, a long time passed, some twenty years, and all the house of Israel lamented after the Lord.
3 Then Samuel said to all the house of Israel, “If you are returning to the Lord with all your heart, then put away the foreign gods and the Ashtaroth from among you, and direct your heart to the Lord, and serve him only, and he will deliver you out of the hand of the Philistines.”