Then the Israelites went out to fight the Philistines. They camped at Ebenezer, and the Philistines camped at Aphek.