Joab sent to David a full account of the battle
When David's project of fathering the child upon Uriah himself failed, so that, in process of time, Uriah would certainly know the wrong that had been done him, to prevent the fruits of his revenge, the devil put it into David's heart to take him off, and then neither he nor Bath-sheba would be in any danger (what prosecution could there be when there was...
Commenting on 2 Samuel 11:14-27
Then Joab sent,.... Messengers to David, as soon as Uriah was killed: and told David all the things concerning the war; how the siege had been carried on; what success they had had, good or ill; what their advantages and disadvantages; what men they had lost, and especially in one sally of the enemy upon them, for the sake of which the express was sent.
2Sa 11:18-21 Joab immediately despatched a messenger to the king, to give him a report of the events of the war, and with these instructions: “When thou hast told all the things of the war to the king to the end, in case the anger of the king should be excited (תּעלה, ascend), and he should say to thee, Why did ye advance so near to the city to fight?
Commenting on 2 Samuel 11:18-21