King Saul and the Israelite army set up camp on a hill overlooking Elah Valley, and they got ready to fight the Philistine army that was on a hill on the other side of the valley.
David ran over and pulled out Goliath's sword. Then he used it to cut off Goliath's head. When the Philistines saw what had happened to their hero, they started running away.