2 Samuel 7:12

7:12 When the time comes for you to die, I will raise up your descendant, one of your own sons, to succeed you, and I will establish his kingdom.

2 Samuel 12:5

12:5 Then David became very angry at this man. He said to Nathan, “As surely as the Lord lives, the man who did this deserves to die!

2 Samuel 12:14

12:14 Nonetheless, because you have treated the Lord with such contempt in this matter, the son who has been born to you will certainly die.”