2 Samuel 11:16-25

ISV(i) 16 So as Joab began to attack the city, he assigned Uriah to a place where he knew valiant men would be stationed. 17 When the men of the city came out to fight Joab, some of David’s army staff members fell, and Uriah the Hittite died, too.
18 Then Joab sent word to David about everything that had happened at the battle. 19 He instructed the courier, “When you have finished conveying all the news about the battle to the king, 20 if the king starts to get angry and asks you, ‘Why did you get so near the city to fight? Didn’t you know they would shoot from the wall? 21 Who killed Jerubbesheth’s son Abimelech? Didn’t a woman kill him by throwing an upper millstone on him from the wall at Thebez? Why did you go so close to the wall?’ then tell him, ‘Your servant Uriah the Hittite also died.’”
22 So the messenger left Joab, set out for Jerusalem, and disclosed to David everything that Joab had sent him to say. 23 The messenger told David, “The men surprised us and attacked us in the field, but we drove them back to the entrance of the city gate. 24 Then the archers shot at your servants from the wall. Some of the king’s staff members are dead, and your servant Uriah the Hittite has died as well.”
25 David responded to the messenger, “Here’s what you’re to tell Joab: ‘Don’t be troubled by this incident, because the battle sword consumes one or another from time to time. Consolidate your attack against the city and conquer it.’ Be sure to encourage him.”