David said to the messenger, “Tell Joab this: Don’t let this matter upset you, for the sword devours one as easily as another. Press the attack harder against the city and destroy it. Say this to encourage him.”
In context
23The 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 gate. 24Then the archers shot at your servants from the wall, and some of the king’s men died — and your servant Uriah the Hittite is dead too.” 25David said to the messenger, “Tell Joab this: Don’t let this matter upset you, for the sword devours one as easily as another. Press the attack harder against the city and destroy it. Say this to encourage him.” 26When Uriah’s wife heard that her husband Uriah was dead, she mourned for him. 27When the time of mourning was over, David sent for her and brought her to his house, and she became his wife and bore him a son. But what David had done was evil in the eyes of Yahweh.