2 Samuel 12:10-12

10Now 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.’ 11Thus says the Lord, ‘Behold, I will raise up evil against you out of your own house. And I will take your wives before your eyes and give them to your neighbor, and he shall lie with your wives in the sight of this sun. 12For you did it secretly, abut I will do this thing before all Israel and before the sun.’”

2 Samuel 12:14

14Nevertheless, because by this deed you have utterly bscorned the Lord,
Masoretic Text  the enemies of the Lord; Dead Sea Scroll  the word of the Lord
the child who is born to you shall die.”
Copyright information for ESV