2 Samuel 7:4-17 Christian Standard Bible (CSB)
4 But that night the word of the Lord came to Nathan: 5 “Go to my servant David and say, ‘This is what the Lord says: Are you to build me a house to dwell in? 6 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. 7 In all my journeys with all the Israelites, have I ever spoken a word to one of the tribes of Israel, whom I commanded to shepherd my people Israel, asking: Why haven’t you built me a house of cedar?’
8 “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. 9 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. 10 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 11 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. 12 When your time comes and you rest with your fathers, I will raise up after you your descendant, who will come from your body, and I will establish his kingdom. 13 He is the one who will build a house for my name, and I will establish the throne of his kingdom forever. 14 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. 15 But my faithful love will never leave him as it did when I removed it from Saul, whom I removed from before you. 16 Your house and kingdom will endure before me[a] forever, and your throne will be established forever.’”
17 Nathan reported all these words and this entire vision to David.