1 Samuel 7:2-4 Authorized (King James) Version (AKJV)
2 And it came to pass, while the ark abode in Kirjath-jearim, that the time was long; for it was twenty years: and all the house of Israel lamented after the Lord. 3 And Samuel spake unto all the house of Israel, saying, If ye do return unto the Lord with all your hearts, then put away the strange gods and 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 Baalim and Ashtaroth, and served the Lord only.
1 Samuel 7:2-4 New International Version (NIV)
2 The ark remained at Kiriath Jearim a long time—twenty years in all.
Samuel Subdues the Philistines at Mizpah
Then all the people of Israel turned back to the Lord. 3 So Samuel said to all the Israelites, “If you are returning to the Lord with all your hearts, then rid yourselves of the foreign gods and the Ashtoreths and commit yourselves to the Lord and serve him only, and he will deliver you out of the hand of the Philistines.” 4 So the Israelites put away their Baals and Ashtoreths, and served the Lord only.