Now it came to pass when the king was dwelling in his house, and the LORD had given him rest from all his enemies all around, that the king said to Nathan the prophet, “See now, I dwell in a house of cedar, but the ark of God dwells inside tent curtains.”
Then Nathan said to the king, “Go, do all that is in your heart, for the LORD is with you.”
But it happened that night that the word of the LORD came to Nathan, saying, “Go and tell My servant David, ‘Thus says the LORD: “Would you build a house for Me to dwell in? For I have not dwelt in a house since the time that I brought the children of Israel up from Egypt, even to this day, but have moved about in a tent and in a tabernacle. Wherever I have moved about with all the children of Israel, have I ever spoken a word to anyone from the tribes of Israel, whom I commanded to shepherd My people Israel, saying, ‘Why have you not built Me a house of cedar?’ ” ’ Now therefore, thus shall you say to My servant David, ‘Thus says the LORD of hosts: “I took you from the sheepfold, from following the sheep, to be ruler over My people, over Israel. And I have been with you wherever you have gone, and have cut off all your enemies from before you, and have made you a great name, like the name of the great men who are on the earth. Moreover I will appoint a place for My people Israel, and will plant them, that they may dwell in a place of their own and move no more; nor shall the sons of wickedness oppress them anymore, as previously, since the time that I commanded judges to be over My people Israel, and have caused you to rest from all your enemies. Also the LORD tells you that He will make you a house.
“When your days are fulfilled and you rest with your fathers, I will set up your seed after you, who will come from your body, and I will establish his kingdom. He shall build a house for My name, and I will establish the throne of his kingdom forever. I will be his Father, and he shall be My son. If he commits iniquity, I will chasten him with the rod of men and with the blows of the sons of men. But My mercy shall not depart from him, as I took it from Saul, whom I removed from before you. And your house and your kingdom shall be established forever before you. Your throne shall be established forever.” ’ ”