2 Samuel 12:13 in the King James Version
And David said unto Nathan, I have sinned against the LORD. And Nathan said unto David, The LORD also hath put away thy sin; thou shalt not die.
Context
12 For you did this secretly, but I will do this thing before all Israel, and before the sun.’”
13 David said to Nathan, “I have sinned against the LORD.” Nathan said to David, “The LORD also has put away your sin. You will not die.
14 However, because by this deed you have given great occasion to the LORD’s enemies to blaspheme, the child also who is born to you will surely die.”