1 Samuel 7:2-4 New Revised Standard Version, Anglicised Catholic Edition (NRSVACE)
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[a] after the Lord.
Samuel as Judge
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 Astartes from among you. Direct your heart to the Lord, and serve him only, and he will deliver you out of the hand of the Philistines.’ 4 So Israel put away the Baals and the Astartes, and they served the Lord only.