Announce to those who live in the palaces of Egypt and Ashdod: “Gather together in the hills around Samaria and see the great disorder and the crimes being committed there.”
as well as all the territory of the Avvim to the south. (The land from the stream Shihor, at the Egyptian border, as far north as the border of Ekron was considered Canaanite; the kings of the Philistines lived at Gaza, Ashdod, Ashkelon, Gath, and Ekron.)
At that time the Philistines gathered to go to war against Israel, so the Israelites set out to fight them. The Israelites set up their camp at Ebenezer and the Philistines at Aphek.