2 Samuel 12:16-20

ISV(i) 16 David begged God on behalf of the youngster. He fasted, went inside, and spent the night lying on the ground. 17 His closest advisors at the palace got up, remained with him, and tried to help him get up from the ground, but he would not do so. He also wouldn’t eat with them.
18 A week later, the child died, and David’s staff was afraid to tell him that the child had died. They were telling themselves, “Look, when the child was still alive, we talked to him but he wouldn’t listen to what we said. Now what kind of trouble will he bring on himself if we tell him that the child has died?”
19 But as David observed his staff whispering together, he perceived that the child had died, so he asked his staff, “Is the child dead?”
They replied, “He has died.”
20 At this, David got up from the ground, washed, anointed himself, changed his clothes, and went into the LORD’s tent to worship. Then he went back to his palace where, at his request, they served him food and he ate.