7 After the king had been living in his palace awhile and Adonai had given him rest from all his surrounding enemies, 2 the king said to Natan the prophet, “Here, I’m living in a cedar-wood palace; but the ark of God is kept in a tent!” 3 Natan said to the king, “Go, do everything that is in your heart, for Adonai is with you.”
4 But that same night the word of Adonai came to Natan: 5 “Go and tell my servant David that this is what Adonai says: ‘You are going to build me a house to live in? 6 Since the day I brought the people of Isra’el out of Egypt until today, I never lived in a house; rather, I traveled in a tent and a tabernacle. 7 Everywhere I traveled with all the people of Isra’el, did I ever speak a word to any of the tribes of Isra’el, whom I ordered to shepherd my people Isra’el, asking, “Why haven’t you built me a cedar-wood house?”’
8 “Therefore say this to my servant David that this is what Adonai-Tzva’ot says: ‘I took you from the sheep-yards, from following the sheep, to make you chief over my people, over Isra’el. 9 I have been with you wherever you went; I have destroyed all your enemies ahead of you; and I am making your reputation great, like the reputations of the greatest people on earth. 10 I will assign a place to my people Isra’el; I will plant them there, so that they can live in their own place without being disturbed any more. The wicked will no longer oppress them, as they did at the beginning, 11 and as they did from the time I ordered judges to be over my people Isra’el; instead, I will give you rest from all your enemies.
“‘Moreover, Adonai tells you that Adonai will make you a house. 12 When your days come to an end and you sleep with your ancestors, I will establish one of your descendants to succeed you, one of your own flesh and blood; and I will set up his rulership. 13 He will build a house for my name, and I will establish his royal throne forever. 14 I will be a father for him, and he will be a son for me. If he does something wrong, I will punish him with a rod and blows, just as everyone gets punished; 15 nevertheless, my grace will not leave him, as I took it away from Sha’ul, whom I removed from before you. 16 Thus your house and your kingdom will be made secure forever before you; your throne will be set up forever.’” 17 Natan told David all of these words and described this entire vision.
18 Then David went in, sat before Adonai and said, “Who am I, Adonai Elohim; and what is my family, that has caused you to bring me this far? 19 Yet in your view, Adonai Elohim, even this was too small a thing; so you have even said that your servant’s dynasty will continue on into the distant future. This is [indeed] a teaching for a man, Adonai Elohim — 20 what more can David say to you? For you know your servant intimately, Adonai Elohim. 21 It is for the sake of your word and in accordance with your own heart that you have done all this greatness and revealed it to your servant. 22 Therefore, you are great, Adonai, God; for there is no one like you, and there is no God besides you — everything we have heard confirms that. 23 Who can be compared with your people, with Isra’el? What other nation on earth did God set out to redeem and make into a people for himself? You made yourself a reputation by doing for your land things that even for you are great and terrifying, for the sake of your people whom you redeemed for yourself from Egypt and from other nations and from their gods. 24 You set up your people for yourself as your people forever; and you, Adonai, became their God. 25 So now, Adonai, God, establish forever the word you have spoken to your servant and his house; do what you have promised. 26 May your name be magnified forever, so that it will be said, ‘Adonai-Tzva’ot is God over Isra’el, and the dynasty of your servant David will be set up in your presence.’ 27 You, Adonai-Tzva’ot, God of Isra’el, have disclosed to your servant, ‘I will build you a house.’ This is why your servant has the courage to pray this prayer to you. 28 Now, Adonai Elohim, you alone are God; your words are truth; and you have made this wonderful promise to your servant. 29 So may it please you to bless the family of your servant and thereby cause it to continue forever in your presence. For you, Adonai Elohim, have said it. May your servant’s family be blessed forever by your blessing.”