Israel went to fight against the Philistines and camped near Ebenezer while the Philistines camped at Aphek.