The Philistine and the Israelite armies took positions for battle, facing each other.
David got up early the next morning, left someone else in charge of the sheep, took the food, and went as Jesse had told him to. He arrived at the camp just as the Israelites were going out to their battle line, shouting the war cry.
David left the food with the officer in charge of the supplies, ran to the battle line, went to his brothers, and asked how they were getting along.
The Philistines attacked, and after fierce fighting they defeated the Israelites and killed about four thousand men on the battlefield.