1 Samuel 7:1-2

7:1 Then the people of Kiriath Jearim came and took the ark of the Lord; they brought it to the house of Abinadab located on the hill. They consecrated Eleazar his son to guard the ark of the Lord.

Further Conflict with the Philistines

7:2 It was quite a long time – some twenty years in all – that the ark stayed at Kiriath Jearim. All the people of Israel longed for the Lord.

1 Samuel 6:1

The Philistines Return the Ark

6:1 When the ark of the Lord had been in the land of the Philistines for seven months,