1 Chronicles 17:11-15

17:11 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. 17:12 He will build me a house, and I will make his dynasty permanent. 17:13 I will become his father and he will become my son. I will never withhold my loyal love from him, as I withheld it from the one who ruled before you. 17:14 I will put him in permanent charge of my house and my kingdom; his dynasty will be permanent.”’” 17:15 Nathan told David all these words that were revealed to him.

1 Chronicles 17:27

17:27 Now you are willing to bless your servant’s dynasty so that it may stand permanently before you, for you, O Lord, have blessed it and it will be blessed from now on into the future.”