The Lord sends Nathan to David. The prophet tells him a story: in a city there were two men, one rich, with many flocks, and one poor, who had only a little ewe lamb that he had raised with his children, that ate from his cup and slept in his arms. A traveler came to the rich man, and instead of taking from his own flock, he took the poor man's lamb to feed him. David burns with anger and declares that the man deserves to die and must repay the lamb fourfold. Nathan says to him: you are the man.
Nathan announces the Lord's judgment: God anointed him king, delivered him from Saul and gave him everything, and yet he despised the Lord's word, killed Uriah with the sword of the Ammonites and took his wife. Therefore the sword will never depart from his house and evil will rise against him from his own house; his wives will be taken in the sight of all. David says: I have sinned against the Lord. Nathan answers that the Lord has put away his sin and he will not die, but the child born to him will die, because by this deed he has given occasion to the Lord's enemies to blaspheme.
The child falls ill. David fasts and spends the nights lying on the ground for seven days. On the seventh day the child dies; the servants are afraid to tell him, but David perceives it. He gets up, washes, worships in the house of the Lord and eats. He explains that while the child lived he fasted in hope that the Lord would be gracious, but now that he is dead he cannot bring him back: he will go to him, but the child will not return. David comforts Bathsheba and she bears Solomon, whom the Lord loves and whom Nathan names Jedidiah, meaning beloved of the Lord. Meanwhile, Joab captures the royal city of Rabbah and summons David to take the city. David gathers all the people, captures it and takes the crown of the king of the Ammonites.