2 Samuel 11:18-27

18 Then Joab sent David news of everything which had taken place in the war:
19 And he gave orders to the man who took the news, saying, After you have given the king all the news about the war,
20 If the king is angry and says, Why did you go so near the town for the fight? was it not certain that their archers would be on the wall?
21 Who put Abimelech, the son of Jerubbaal, to death? did not a woman send a great stone down on him from the wall, putting him to death at Thebez? why did you go so near the wall? Then say to him, Your servant Uriah the Hittite is among the dead.
22 So the man went, and came to David, and gave him all the news which Joab had sent him to give; then David was angry with Joab and said, Why did you go so near the town for the fight? was it not certain that their archers would be on the wall? who put Abimelech, the son of Jerubbaal, to death? did not a woman send a great stone down on him from the wall, putting him to death at Thebez? why did you go so near the wall?
23 And the man said to David, Truly the men got the better of us, and came out against us into the open country, but we sent them back to the very doors of the town.
24 And the archers sent their arrows at your servants from the wall, and some of the king's servants are dead, and among them is your servant Uriah the Hittite.
25 Then David said to the man, Go and say to Joab, Do not let this be a grief to you; for one man may come to his death by the sword like another: put up an even stronger fight against the town, and take it: and do you put heart into him.
26 And when the wife of Uriah had news that her husband was dead, she gave herself up to weeping for him.
27 And when the days of weeping were past, David sent for her, and took her into his house, and she became his wife and gave him a son. But the Lord was not pleased with the thing David had done.