2 Samuel 7:1-16 CSB
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 the prophet Nathan, “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 mind, 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 me a house to dwell in? From the time I brought the Israelites out of Egypt until today I have not dwelt in a house; instead, I have been moving around with a tent as my dwelling. In all my journeys with all the Israelites, have I ever spoken a word to one of the tribal leaders of Israel, whom I commanded to shepherd my people Israel, asking: Why haven’t you built me a house of cedar?’
“So now this is what you are to say to my servant David: ‘This is what the LORD of Armies says: I took you from the pasture, from tending the flock, 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 great name for you like that of the greatest on the earth. I will designate a place for my people Israel and plant them, so that they may live there and not be disturbed again. Evildoers will not continue to oppress 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 ancestors, I will raise up after you your descendant, who will come from your body, and I will establish his kingdom. He is the one who will build a house for my name, and I will establish the throne of his kingdom forever. I will be his father, and he will be my son. When he does wrong, I will discipline him with a rod of men and blows from mortals. But my faithful love will never leave him as it did when I removed it from Saul, whom I removed from before you. Your house and kingdom will endure before me forever, and your throne will be established forever.’”
CSB: Christian Standard Bible