2 Samuel 7:11-16

7:11 and during the time when I appointed judges to lead my people Israel. Instead, I will give you relief from all your enemies. The Lord declares to you that he himself will build a dynastic house for you. 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. 7:13 He will build a house for my name, and I will make his dynasty permanent. 7:14 I will become his father and he will become my son. When he sins, I will correct him with the rod of men and with wounds inflicted by human beings. 7:15 But my loyal love will not be removed from him as I removed it from Saul, whom I removed from before you. 7:16 Your house and your kingdom will stand before me permanently; your dynasty will be permanent.’”

2 Samuel 7:25-29

7:25 So now, O Lord God, make this promise you have made about your servant and his family a permanent reality. Do as you promised, 7:26 so you may gain lasting fame, as people say, ‘The Lord of hosts is God over Israel!’ The dynasty of your servant David will be established before you, 7:27 for you, O Lord of hosts, the God of Israel, have told your servant, ‘I will build you a dynastic house.’ That is why your servant has had the courage to pray this prayer to you. 7:28 Now, O sovereign Lord, you are the true God! May your words prove to be true! You have made this good promise to your servant! 7:29 Now be willing to bless your servant’s dynasty so that it may stand permanently before you, for you, O sovereign Lord, have spoken. By your blessing may your servant’s dynasty be blessed on into the future!”