In the morning David wrote a letter to Joab and sent it with Uriah.
In it he wrote, “Put Uriah out in front where the fighting is fiercest. Then withdraw from him so he will be struck down and die.”
So while Joab had the city under siege, he put Uriah at a place where he knew the strongest defenders were.
When the men of the city came out and fought against Joab, some of the men in David’s army fell; moreover, Uriah the Hittite died.
Joab sent David a full account of the battle.
He instructed the messenger: “When you have finished giving the king this account of the battle,
the king’s anger may flare up, and he may ask you, ‘Why did you get so close to the city to fight? Didn’t you know they would shoot arrows from the wall?
Who killed Abimelek son of Jerub-Besheth ? Didn’t a woman drop an upper millstone on him from the wall, so that he died in Thebez? Why did you get so close to the wall?’ If he asks you this, then say to him, ‘Moreover, your servant Uriah the Hittite is dead.’ ”
The messenger set out, and when he arrived he told David everything Joab had sent him to say.
The messenger said to David, “The men overpowered us and came out against us in the open, but we drove them back to the entrance of the city gate.
Then the archers shot arrows at your servants from the wall, and some of the king’s men died. Moreover, your servant Uriah the Hittite is dead.”
David told the messenger, “Say this to Joab: ‘Don’t let this upset you; the sword devours one as well as another. Press the attack against the city and destroy it.’ Say this to encourage Joab.”
When Uriah’s wife heard that her husband was dead, she mourned for him.
After the time of mourning was over, David had her brought to his house, and she became his wife and bore him a son. But the thing David had done displeased the LORD.