2 Samuel 12:13-17

12: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.

12: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.”

12:15 Then Nathan departed to his house. The LORD struck the child that Uriah’s wife bore to David, and it was very sick.

12:16 David therefore begged God for the child; and David fasted, and went in and lay all night on the ground.

12:17 The elders of his house arose beside him, to raise him up from the earth; but he would not, and he didn’t eat bread with them.