I gave your master's house to you, and gave his wives into your embrace. I gave you the house of Israel and Judah. If that was too little, I would have given even more.
References for 2 Samuel 12:8
Why have you despised the LORD's word by doing what is evil in his eyes? You have struck down Uriah the Hittite with the sword and taken his wife as your own. You used the Ammonites to kill him.
Because of that, because you despised me and took the wife of Uriah the Hittite as your own, the sword will never leave your own house.
"This is what the LORD says: I am making trouble come against you from inside your own family. Before your very eyes I will take your wives away and give them to your friend, and he will have sex with your wives in broad daylight.
You did what you did secretly, but I will do what I am doing before all Israel in the light of day."
"I've sinned against the LORD!" David said to Nathan. "The LORD has removed your sin," Nathan replied to David. "You won't die.
However, because you have utterly disrespected the LORD by doing this, the son born to you will definitely die."
References for 2 Samuel 12:14
Then Nathan went home. The LORD struck the child that Uriah's wife had borne for David, and he became very sick.
References for 2 Samuel 12:15
David begged God for the boy. He fasted and spent the night sleeping on the ground.
The senior servants of his house approached him to lift him up off the ground, but he refused, and he wouldn't eat with them either.
References for 2 Samuel 12:17
On the seventh day, the child died. David's servants were afraid to tell him that the child had died. "David wouldn't listen to us when we talked to him while the child was still alive," they said. "How can we tell him the child has died? He'll do something terrible!"