David said to Nathan, “I have sinned against Yahweh.” Nathan said to David, “Yahweh has taken away your sin; you will not die.
In context
11This is what Yahweh says: I am going to bring disaster on you from within your own house. I will take your wives before your very eyes and give them to another man, and he will sleep with your wives in broad daylight. 12You did this in secret, but I will do this thing in front of all Israel, in broad daylight.” 13David said to Nathan, “I have sinned against Yahweh.” Nathan said to David, “Yahweh has taken away your sin; you will not die. 14But because by this deed you have utterly scorned Yahweh, the son born to you will surely die.” 15Then Nathan went home. And Yahweh struck the child that Uriah’s wife had borne to David, and he became gravely ill.