When David moved into his palace, he said to Nathan the prophet, "Look, I am living in a palace made of cedar, but the Ark of the Agreement with the Lord sits in a tent."
Nathan said to David, "Do what you want to do, because God is with you."
But that night God spoke his word to Nathan, saying,
"Go and tell David my servant, 'This is what the Lord says: You are not the person to build a house for me to live in.
From the time I brought Israel out of Egypt until now I have not lived in a house. I have moved from one tent site to another and from one place to another.
As I have moved with the Israelites to different places, I have never said to the leaders, whom I commanded to take care of my people, "Why haven't you built me a house of cedar?"'
"Now, tell my servant David: 'This is what the Lord All-Powerful says: I took you from the pasture and from tending the sheep and made you king of my people Israel.
I have been with you everywhere you have gone. I have defeated your enemies for you. I will make you as famous as any of the great people on the earth.
I will choose a place for my people Israel, and I will plant them so they can live in their own homes. They will not be bothered anymore. Wicked people will no longer hurt them as they have in the past
when I chose judges for my people Israel. I will defeat all your enemies. "'I tell you that the Lord will make your descendants kings of Israel after you.
When you die and join your ancestors, I will make one of your sons the new king, and I will set up his kingdom.
He will build a house for me, and I will let his kingdom rule always.
I will be his father, and he will be my son. I took away my love from Saul, who ruled before you, but I will never stop loving your son.
I will put him in charge of my house and kingdom forever. His family will rule forever.'"
Nathan told David everything God had said in this vision.
Then King David went in and sat in front of the Lord. David said, "Lord God, who am I? What is my family? Why did you bring me to this point?
But that was not enough for you, God. You have also made promises about my future family. Lord God, you have treated me like a very important person.
"What more can I say to you for honoring me, your servant? You know me so well.
Lord, you have done this wonderful thing for my sake and because you wanted to. You have made known all these great things.
"There is no one like you, Lord. There is no God except you. We have heard all this ourselves!
There is no nation like your people Israel. They are the only people on earth that God chose to be his own. You made your name well known by the great and wonderful things you did for them. You went ahead of them and forced other nations out of the land. You freed your people from slavery in Egypt.
You made the people of Israel your very own people forever, and, Lord, you are their God.
"Lord, keep the promise forever that you made about my family and me, your servant. Do what you have said.
Then you will be honored always, and people will say, 'The Lord All-Powerful, the God over Israel, is Israel's God!' And the family of your servant David will continue before you.
"My God, you have told me that you would make my family great. So I, your servant, am brave enough to pray to you.
Lord, you are God, and you have promised these good things to me, your servant.
You have chosen to bless my family. Let it continue before you always. Lord, you have blessed my family, so it will always be blessed."