When King Jehoiakim and his soldiers and officials heard what Uriah had said, the king tried to have him killed. But Uriah heard about it; so he fled in terror and escaped to Egypt.
He ran to him, stood over him, took Goliath's sword out of its sheath, and cut off his head and killed him. When the Philistines saw that their hero was dead, they ran away.