When the king and all his bodyguards and officials heard what he was prophesying, the king sought to have him executed. But Uriah found out about it and fled to Egypt out of fear.
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.