Samuel Subdues the Philistines at Mizpah

2 The ark remained at Kiriath Jearim a long time—twenty years in all. Then all the people of Israel turned back to the LORD.

Read 1 Samuel 7:2 Using Other Translations

And it came to pass, while the ark abode in Kirjathjearim, that the time was long; for it was twenty years: and all the house of Israel lamented after the LORD.
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.
The Ark remained in Kiriath-jearim for a long time—twenty years in all. During that time all Israel mourned because it seemed the LORD had abandoned them.