2 Samuel 12:22

22 And he saith, `While the lad is alive I have fasted, and weep, for I said, Who knoweth? -- Jehovah doth pity me, and the lad hath lived;

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 And David riseth from the earth, and doth bathe and anoint [himself], and changeth his raiment, and cometh in to the house of Jehovah, and boweth himself, and cometh unto his house, and asketh and they place for him bread, and he eateth.
21 And his servants say unto him, `What [is] this thing thou hast done? because of the living lad thou hast fasted and dost weep, and when the lad is dead thou hast risen and dost eat bread.'
22 And he saith, `While the lad is alive I have fasted, and weep, for I said, Who knoweth? -- Jehovah doth pity me, and the lad hath lived;
23 and now, he hath died, why [is] this -- I fast? am I able to bring him back again? I am going unto him, and he doth not turn back unto me.'
24 And David comforteth Bath-Sheba his wife, and goeth in unto her, and lieth with her, and she beareth a son, and he calleth his name Solomon; and Jehovah hath loved him,
Young's Literal Translation is in the public domain.