21 His attendants asked him, “Why are you acting this way? While the child was alive, you fasted and wept, but now that the child is dead, you get up and eat!”

Read 2 Samuel 12:21 Using Other Translations

Then said his servants unto him, What thing is this that thou hast done? thou didst fast and weep for the child, while it was alive; but when the child was dead, thou didst rise and eat bread.
Then his servants said to him, "What is this thing that you have done? You fasted and wept for the child while he was alive; but when the child died, you arose and ate food."
His advisers were amazed. “We don’t understand you,” they told him. “While the child was still living, you wept and refused to eat. But now that the child is dead, you have stopped your mourning and are eating again.”