2 Samuel 12:13-15

12:13 Then David exclaimed to Nathan, “I have sinned against the Lord!” Nathan replied to David, “Yes, and the Lord has forgiven your sin. You are not going to die. 12:14 Nonetheless, because you have treated the Lord with such contempt in this matter, the son who has been born to you will certainly die.”

12:15 Then Nathan went to his home. The Lord struck the child that Uriah’s wife had borne to David, and the child became very ill.