2 Samuel 11:7
And when Uriah was come unto him, David demanded of him how Joab did, and how the people did, and how the war prospered. And when Uriah was come unto him, David demanded of him how Joab did, and how the people did, and how the war prospered.
When Uriah came to him after being summoned, David asked him how Joab was doing, how the people or army were doing, and how the war was prospering or progressing. The questioning was part of David's effort to conceal his adultery and prevent suspicion, in order to protect his honor and take Bathsheba as his wife, adding murder to adultery. He then arranged Uriah's death and sent him back to the battle carrying a letter ordering Joab to place him where the fighting was fiercest and withdraw support, so that the Ammonites would kill him.
The verse belongs to the account of David's grievous and heinous crime, sin and fall involving Uriah and Bath-sheba in adultery and murder. The episode followed David's idleness, for his failure to occupy himself in useful work led to the wrongdoing and guilt that ended in Uriah's murder, and useful employment would have kept him from it. After turning from God's teachings and wisdom and departing from God, David sinned and sullied a once-fair reputation, which led to further sin and shows that setting aside God's wisdom has serious consequences.
Though especially favored by God, David was led through indulgence of appetite and passion to incur God's displeasure. God did not excuse or justify David's wrongdoing, but met it with reproof and punishment. The record is preserved as an honest account of the failings of people entrusted with great responsibilities to warn readers against sin, showing that even those favored by God can be overcome by temptation, teaching later generations and encouraging people who struggle and fall to rise again through God's grace.