The ark of Yahweh was in the country of the Philistines seven months.
"Ancient religious protocol mandated that the worshiper not approach his god(s) empty-handed (cf. Exodus 23:15; Deuteronomy 16:16)." [Note: Youngblood, p. 604.] 