1 Chronicles 17:24-25

17:24 so it may become a reality and you may gain lasting fame, as people say, ‘The Lord who commands armies is the God of Israel.’ David’s dynasty will be established before you, 17:25 for you, my God, have revealed to your servant that you will build a dynasty for him. That is why your servant has had the courage to pray to you.

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.”

1 Chronicles 22:10

22:10 He will build a temple to honor me; he will become my son, and I will become his father. I will grant to his dynasty permanent rule over Israel.’