1 Samuel 17:51-52

17:51 David ran and stood over the Philistine. He grabbed Goliath’s sword, drew it from its sheath, killed him, and cut off his head with it. When the Philistines saw their champion was dead, they ran away.

17:52 Then the men of Israel and Judah charged forward, shouting a battle cry. They chased the Philistines to the valley and to the very gates of Ekron. The Philistine corpses lay fallen along the Shaaraim road to Gath and Ekron.