1 Chronicles 17:1-15 CSB
When David had settled into his palace, he said to the prophet Nathan, “Look! I am living in a cedar house while the ark of the LORD’s covenant is under tent curtains.”
So Nathan told David, “Do all that is on your mind, for God is with you.”
But that night the word of God came to Nathan: “Go to David my servant and say, ‘This is what the LORD says: You are not the one to build me a house to dwell in. From the time I brought Israel out of Egypt until today I have not dwelt in a house; instead, I have moved from one tent site to another, and from one tabernacle location to another. In all my journeys throughout Israel, have I ever spoken a word to even one of the judges of Israel, whom I commanded to shepherd my people, 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 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 also subdue all your enemies.
“‘Furthermore, I declare to you that the LORD himself will build a house for you. When your time comes to be with your ancestors, I will raise up after you your descendant, who is 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 not remove my faithful love from him as I removed it from the one who was before you. I will appoint him over my house and my kingdom forever, and his throne will be established forever.’”
Nathan reported all these words and this entire vision to David.
CSB: Christian Standard Bible