2 Samuel 12:11-19
11 “This is what the Lord says: ‘Out of your own household I am going to bring calamity on you. Before your very eyes I will take your wives and give them to one who is close to you, and he will sleep with your wives in broad daylight. 12 You did it in secret, but I will do this thing in broad daylight before all Israel.’”
13 Then David said to Nathan, “I have sinned against the Lord.”
Nathan replied, “The Lord has taken away your sin. You are not going to die. 14 But because by doing this you have shown utter contempt for the Lord, the son born to you will die.”
15 After Nathan had gone home, the Lord struck the child that Uriah’s wife had borne to David, and he became ill. 16 David pleaded with God for the child. He fasted and spent the nights lying in sackcloth on the ground. 17 The elders of his household stood beside him to get him up from the ground, but he refused, and he would not eat any food with them.
18 On the seventh day the child died. David’s attendants were afraid to tell him that the child was dead, for they thought, “While the child was still living, he wouldn’t listen to us when we spoke to him. How can we now tell him the child is dead? He may do something desperate.”
19 David noticed that his attendants were whispering among themselves, and he realized the child was dead. “Is the child dead?” he asked.
“Yes,” they replied, “he is dead.”