2 Samuel 12:13-14
13-14Then David confessed to Nathan, "I've sinned against God."
Nathan pronounced, "Yes, but that's not the last word. God forgives your sin. You won't die for it. But because of your blasphemous behavior, the son born to you will die."
15-18After Nathan went home, God afflicted the child that Uriah's wife bore to David, and he came down sick. David prayed desperately to God for the little boy. He fasted, wouldn't go out, and slept on the floor. The elders in his family came in and tried to get him off the floor, but he wouldn't budge. Nor could they get him to eat anything. On the seventh day the child died. David's servants were afraid to tell him. They said, "What do we do now? While the child was living he wouldn't listen to a word we said. Now, with the child dead, if we speak to him there's no telling what he'll do."