The Philistines drew up in battle array to meet Israel, and when the battle was fought, Israel was defeated before the Philistines, who killed 4,000 men on the battlefield.