2 Samuel 12:22

22 "Yes," David answered, "I did fast and weep while he was still alive. I thought that the Lord might be merciful to me and not let the child die.

2 Samuel 12:22 Meaning and Commentary

2 Samuel 12:22

And he said, while the child was yet alive
And so there was hope it might be continued:

I fasted and wept;
or sought the Lord by prayer, and fasting, and weeping, that the threatening might not take place, that the child's life might be spared:

for I said;
within himself, thus he reasoned in his own mind:

who can tell [whether] God will be gracious to me, that the child may
live?
and in hope of this he kept praying, fasting, and weeping; he could not tell but God might repent of the evil he had threatened, as in some cases he has done; see ( Joel 2:13 Joel 2:14 ) ( Jonah 3:9 Jonah 3:10 ) . Abarbinel thinks that David fasted and wept to hide this matter from his wife, and his servants, and did not let them know that this was in his punishment, that the child should die.

2 Samuel 12:22 In-Context

20 David got up from the floor, took a bath, combed his hair, and changed his clothes. Then he went and worshiped in the house of the Lord. When he returned to the palace, he asked for food and ate it as soon as it was served.
21 "We don't understand this," his officials said to him. "While the child was alive, you wept for him and would not eat; but as soon as he died, you got up and ate!"
22 "Yes," David answered, "I did fast and weep while he was still alive. I thought that the Lord might be merciful to me and not let the child die.
23 But now that he is dead, why should I fast? Could I bring the child back to life? I will some day go to where he is, but he can never come back to me."
24 Then David comforted his wife Bathsheba. He had intercourse with her, and she bore a son, whom David named Solomon. The Lord loved the boy
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.