David said to Nathan, "I have sinned against the Lord." Nathan said to David, "Now the Lord has put away your sin; you shall not die.
Nevertheless, because by this deed you have utterly scorned the Lord, a the child that is born to you shall die."
Then Nathan went to his house. The Lord struck the child that Uriah's wife bore to David, and it became very ill.
David therefore pleaded with God for the child; David fasted, and went in and lay all night on the ground.
The elders of his house stood beside him, urging him to rise from the ground; but he would not, nor did he eat food with them.
On the seventh day the child died. And the servants of David were afraid to tell him that the child was dead; for they said, "While the child was still alive, we spoke to him, and he did not listen to us; how then can we tell him the child is dead? He may do himself some harm."
But when David saw that his servants were whispering together, he perceived that the child was dead; and David said to his servants, "Is the child dead?" They said, "He is dead."
Then David rose from the ground, washed, anointed himself, and changed his clothes. He went into the house of the Lord, and worshiped; he then went to his own house; and when he asked, they set food before him and he ate.
Then his servants said to him, "What is this thing that you have done? You fasted and wept for the child while it was alive; but when the child died, you rose and ate food."
He said, "While the child was still alive, I fasted and wept; for I said, "Who knows? The Lord may be gracious to me, and the child may live.'
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)