Israel and the Philistines lined up in battle formation facing each other. 