After David was settled in his palace, he said to Nathan the prophet, “Here I am, living in a house of cedar, while the ark of the covenant of the Lord is under a tent.”
Nathan replied to David, “Whatever you have in mind, do it, for God is with you.”
But that night the word of God came to Nathan, saying:
“Go and tell my servant David, ‘This is what the Lord says: You are not the one to build me a house to dwell in. I have not dwelt in a house from the day I brought Israel up out of Egypt to this day. I have moved from one tent site to another, from one dwelling place to another. Wherever I have moved with all the Israelites, did I ever say to any of their leaders whom I commanded to shepherd my people, “Why have you not built me a house of cedar?” ’
“Now then, tell my servant David, ‘This is what the Lord Almighty says: I took you from the pasture, from tending the flock, and appointed you ruler over my people Israel. I have been with you wherever you have gone, and I have cut off all your enemies from before you. Now I will make your name like the names of the greatest men on earth. And I will provide a place for my people Israel and will plant them so that they can have a home of their own and no longer be disturbed. Wicked people will not oppress them anymore, as they did at the beginning and have done ever since the time I appointed leaders over my people Israel. I will also subdue all your enemies.
“ ‘I declare to you that the Lord will build a house for you: When your days are over and you go to be with your ancestors, I will raise up your offspring to succeed you, one of your own sons, and I will establish his kingdom. He is the one who will build a house for me, and I will establish his throne forever. I will be his father, and he will be my son. I will never take my love away from him, as I took it away from your predecessor. I will set him over my house and my kingdom forever; his throne will be established forever.’ ”
Nathan reported to David all the words of this entire revelation.
Then King David went in and sat before the Lord, and he said:
“Who am I, Lord God, and what is my family, that you have brought me this far? And as if this were not enough in your sight, my God, you have spoken about the future of the house of your servant. You, Lord God, have looked on me as though I were the most exalted of men.
“What more can David say to you for honoring your servant? For you know your servant, Lord. For the sake of your servant and according to your will, you have done this great thing and made known all these great promises.
“There is no one like you, Lord, and there is no God but you, as we have heard with our own ears. And who is like your people Israel—the one nation on earth whose God went out to redeem a people for himself, and to make a name for yourself, and to perform great and awesome wonders by driving out nations from before your people, whom you redeemed from Egypt? You made your people Israel your very own forever, and you, Lord, have become their God.
“And now, Lord, let the promise you have made concerning your servant and his house be established forever. Do as you promised, so that it will be established and that your name will be great forever. Then people will say, ‘The Lord Almighty, the God over Israel, is Israel’s God!’ And the house of your servant David will be established before you.
“You, my God, have revealed to your servant that you will build a house for him. So your servant has found courage to pray to you. You, Lord, are God! You have promised these good things to your servant. Now you have been pleased to bless the house of your servant, that it may continue forever in your sight; for you, Lord, have blessed it, and it will be blessed forever.”