"Nathan then said to David, 'You are the man! Thus says the LORD God of Israel, "It is I who anointed you king over Israel and it is I who delivered you from the hand of Saul. I also gave you your master's house . . ."'"
Nathan then said to David, "You are the man! Thus says the LORD God of Israel, 'It is I who anointed you king over Israel and it is I who delivered you from the hand of Saul. I also gave you your master's house and your master's wives into your care, and I gave you the house of Israel and Judah; and if that had been too little, I would have added to you many more things like these! Why have you despised the word of the LORD by doing evil in His sight? You have struck down Uriah the Hittite with the sword, have taken his wife to be your wife, and have killed him with the sword of the sons of Ammon. Now therefore, the sword shall never depart from your house, because you have despised Me and have taken the wife of Uriah the Hittite to be your wife . . . . Indeed you did it secretly, but I will do this thing before all Israel, and under the sun.'"
Then David said to Nathan, "I have sinned against the LORD." And Nathan said to David, "The LORD also has taken away your sin; you shall not die. However, because by this deed you have given occasion to the enemies of the LORD to blaspheme, the child also that is born to you shall surely die" (2 Sam. 12:7–14).
David was "a man after God's own heart." Yet, once he crawled into bed with Uriah's wife on that moonlit spring night, never again did he know all the former joys of close family ties, public trust, or military invincibility.
This wasn't his family's fault or the public's fault or the Philistines' fault or the prophet Nathan's fault. It was David's fault, full-on.