22 So the messenger went to David and told him what Joab had commanded him to say.
23 He said, “Our enemies were stronger than we were and came out of the city to fight us in the open, but we drove them back to the city gate.
24 Then they shot arrows at us from the wall, and some of Your Majesty's officers were killed; your officer Uriah was also killed.”
25 David said to the messenger, “Encourage Joab and tell him not to be upset, since you never can tell who will die in battle. Tell him to launch a stronger attack on the city and capture it.”
26 When Bathsheba heard that her husband had been killed, she mourned for him.
27 When the time of mourning was over, David sent for her to come to the palace; she became his wife and bore him a son. But the Lord was not pleased with what David had done.