Now the Philistines had taken the ark of God, and they brought it from Ebenezer to Ashdod.
However unintentional Joshua's actions might have been, "God did not choose the tent of Ephraim; he rejected it; he chose the tribe of Judah"  (Psalms 78:67-68).  Halley has the following summary of the various locations where, at one time or another, the ark was placed: