Saul and the men of Israel gathered and camped in the valley of Elah, then lined up in battle array against the Philistines.