When the king had settled into his palace and the LORD had given him rest on every side from all his enemies,
the king said to Nathan the prophet, "Look, I am living in a cedar house while the ark of God sits inside tent curtains."
So Nathan told the king, "Go and do all that is on your heart, for the LORD is with you."
But that night the word of the LORD came to Nathan:
"Go to My servant David and say, 'This is what the LORD says: Are you to build a house for Me to live in?
From the time I brought the Israelites out of Egypt until today I have not lived in a house; instead, I have been moving around with the tabernacle tent.
In all My journeys with all the Israelites, have I ever asked anyone among the tribes of Israel, whom I commanded to shepherd My people Israel: Why haven't you built Me a house of cedar?'
"Now this is what you are to say to My servant David: 'This is what the LORD of Hosts says: I took you from the pasture and from following the sheep to be ruler over My people Israel.
I have been with you wherever you have gone, and I have destroyed all your enemies before you. I will make a name for you like that of the greatest in the land.
I will establish a place for My people Israel and plant them, so that they may live there and not be disturbed again. Evildoers will not afflict them as they have done
ever since the day I ordered judges to be over My people Israel. I will give you rest from all your enemies. " 'The LORD declares to you: The LORD Himself will make a house for you.
When your time comes and you rest with your fathers, I will raise up after you your descendant, who will come from your body, and I will establish his kingdom.
He will build a house for My name, and I will establish the throne of his kingdom forever.
I will be a father to him, and he will be a son to Me. When he does wrong, I will discipline him with a human rod and with blows from others.
But My faithful love will never leave him as I removed it from Saul; I removed him from your way.
Your house and kingdom will endure before Me forever, and your throne will be established forever.'"
Nathan spoke all these words and this entire vision to David.
Then King David went in, sat in the LORD's presence, and said, "Who am I, Lord God, and what is my house that You have brought me this far?
What You have done so far was a little thing to You, Lord God, for You have also spoken about Your servant's house in the distant future. And this is a revelation for mankind, Lord God.
What more can David say to You? You know Your servant, Lord God.
Because of Your word and according to Your will, You have revealed all these great things to Your servant.
"This is why You are great, Lord God. There is no one like You, and there is no God besides You, as all we have heard confirms.
And who is like Your people Israel? God came to one nation on earth in order to redeem a people for Himself, to make a name for Himself, and to perform for them great and awesome acts, driving out nations and their gods before Your people You redeemed for Yourself from Egypt.
You established Your people Israel Your own people forever, and You, LORD, have become their God.
"Now, LORD God, fulfill the promise forever that You have made to Your servant and his house. Do as You have promised,
so that Your name will be exalted forever, when it is said, 'The LORD of Hosts is God over Israel.' The house of Your servant David will be established before You
since You, LORD of Hosts, God of Israel, have revealed this to Your servant when You said, 'I will build a house for you.' Therefore, Your servant has found the courage to pray this prayer to You.
Lord God, You are God; Your words are true, and You have promised this grace to Your servant.
Now, please bless Your servant's house so that it will continue before You forever. For You, Lord God, have spoken, and with Your blessing Your servant's house will be blessed forever."