1The king had settled in his house, and the LORD had given him rest from all his enemies around him. 2The king said to Nathan the prophet, “Look, I live in a house of cedar, but the ark of God stays behind a tent curtain.” 3Nathan said to the king, “Go and do everything you have in mind, for the LORD is with you.”
4But that night the word of the LORD came to Nathan: 5“Go and tell my servant David, ‘This is what the LORD says: Are you the one to build me a house to live in? 6I have not lived in a house from the day I brought the Israelites up from Egypt to this day. I have traveled about in a tent and a tabernacle. 7Wherever I traveled among all the Israelites, did I ever ask any of the tribes of Israel that I commanded to shepherd my people Israel, “Why haven’t you built me a house of cedar?”’
8“Now tell my servant David, ‘This is what the LORD of Armies says: I took you from the pasture, from following the flock, to be ruler over my people Israel. 9I have been with you everywhere you went and cut off all your enemies before you. I will make you a great name, like the names of the great ones on the earth. 10I will appoint a place for my people Israel and plant them there so that they can dwell in their own place. They will no longer be disturbed, and evildoers will no longer oppress them as they did before, 11from the time I appointed judges over my people Israel. I will give you rest from all your enemies. The LORD declares to you that the LORD will make you a house. 12When your days are complete and you lie down with your fathers, I will raise up your offspring after you, one who comes from your own body, and I will establish his kingdom. 13He will build a house for my name, and I will establish the throne of his kingdom forever. 14I will be a father to him, and he will be a son to me. When he does wrong, I will correct him with a human rod and with blows from men. 15But my faithful love will not leave him as I took it away from Saul, whom I removed from before you. 16Your house and your kingdom will stand firm before you forever. Your throne will be established forever.’” 17Nathan reported all these words and this whole vision to David.
18King David went in and sat before the LORD. He said, “Who am I, Lord GOD, and what is my house, that you have brought me this far? 19And this was still a small thing in your eyes, Lord GOD. You have spoken also about your servant’s house for the distant future. This is instruction for humankind, Lord GOD. 20What more can David say to you? You know your servant, Lord GOD. 21For the sake of your word and in keeping with your own heart, you have done all this great work to make it known to your servant.
22“Therefore you are great, Lord GOD. There is none like you, and there is no God besides you, in all that we have heard with our own ears. 23And who is like your people, like Israel, the one nation on earth that God went to redeem as a people for himself, to make a name for himself and to do great things for you and awesome deeds for your land before your people, whom you redeemed for yourself from Egypt, from nations and its gods? 24You established your people Israel as your own people forever, and you, LORD, became their God.
25“Now, LORD God, establish forever the word you spoke about your servant and about his house. Do as you have spoken. 26May your name be great forever, so that people say, ‘The LORD of Armies is God over Israel.’ And may the house of your servant David stand firm before you. 27For you, LORD of Armies, God of Israel, have revealed to your servant, ‘I will build you a house.’ That is why your servant has found the courage to pray this prayer to you. 28And now, Lord GOD, you are God, and your words are true. You have promised this good thing to your servant. 29So now be pleased to bless your servant’s house, that it may stand before you forever. For you, Lord GOD, have spoken, and by your blessing may your servant’s house be blessed forever.”