2 Samuel 7:8-12
7:8 “So now, say this to my servant David: ‘This is what the Lord of hosts says: I took you from the pasture and from your work as a shepherd to make you leader of my people Israel.
7:9 I was with you wherever you went, and I defeated all your enemies before you. Now I will make you as famous as the great men of the earth.
7:10 I will establish a place for my people Israel and settle them there; they will live there and not be disturbed any more. Violent men will not oppress them again, as they did in the beginning
7:11 and during the time when I appointed judges to lead my people Israel. Instead, I will give you relief from all your enemies. The Lord declares to you that he himself will build a dynastic house for you.
7:12 When the time comes for you to die, I will raise up your descendant, one of your own sons, to succeed you, and I will establish his kingdom.