2 Samuel 7:5-15

5 "Say to my servant David, 'This is what the LORD says: Are you the one who will build me a house to live in?
6 I haven't lived in a house from the day I took Israel out of Egypt to this day. Instead, I moved around in a tent, the tent [of meeting].
7 In all the places I've moved with all the Israelites, did I ever ask any of the judges of Israel whom I ordered to be shepherds of my people Israel why they didn't build me a house of cedar?'
8 "Now this is what you will say to my servant David: 'This is what the LORD of Armies says: I took you from the pasture where you followed sheep so that you could be the leader of my people Israel.
9 I was with you wherever you went, and I destroyed all your enemies in front of you. I will make your name famous like the names of the greatest people on earth.
10 I will make a place for my people Israel and plant them there. They will live in their own place and not be troubled anymore. The wicked will no longer oppress them as they used to do
11 ever since I appointed judges to rule my people Israel. So I will give you peace with all your enemies. I, the LORD, tell you that I will make a house for you.
12 "'When the time comes for you to lie down in death with your ancestors, I will send one of your descendants, [one] who will come from you. I will establish his kingdom.
13 He 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. If he sins, I will punish him with a rod and with blows inflicted by people.
15 But I will never stop showing him my love as I did to Saul, whom I took out of your way.