2 Samuel 11:22

So the messenger went, and came and shewed David all that Joab had sent him for.

The messenger went to David and reported all that Joab had sent him to say about the matters of the war, including that Uriah the Hittite was dead, as part of the events surrounding Uriah's death. The report was carefully worded and framed around the war to disclose Uriah's death in a way that avoided implicating Joab or David in the order that led to it. It belongs to the account of David's grave sin involving Uriah and Bath-sheba, a grave offense that God rebuked through Nathan and punished rather than excused.

The account shows how one wrong step led to further sin until God rebuked David. David acknowledged his guilt with remorse rather than excusing it, and God forgave him and spared his life, yet still punished him because his conduct had given the Lord's enemies occasion to blaspheme. David sullied his previously fair reputation when he turned from God's teachings; keeping God's Word before him had made him steadfast, but abandoning its doctrines led him into sin.

The sin shows the evil that can follow idleness and unused time: had David been occupied in useful work, he would not have committed the murder of Uriah. An unemployed mind is vulnerable to temptation and can lead to evil actions. David was a man especially favored by God who was led through appetite and passion to incur God's displeasure.

Even a man favored by God and entrusted with great responsibility could be overcome by temptation. The faithful record of David's sin serves as a warning about wrongdoing and as a lesson that human failure need not end in despair, for through God's grace people can rise again and continue the struggle against sin.