2 Samuel 12:14-18

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. 12:16 Then David prayed to God for the child and fasted. He would even go and spend the night lying on the ground. 12:17 The elders of his house stood over him and tried to lift him from the ground, but he was unwilling, and refused to eat food with them.

12:18 On the seventh day the child died. But the servants of David were afraid to inform him that the child had died, for they said, “While the child was still alive he would not listen to us when we spoke to him. How can we tell him that the child is dead? He will do himself harm!”