The Lord’s Covenant Promise to David
When King David was settled in his palace and the Lord had given him rest from all the surrounding enemies, 2 the king summoned Nathan the prophet. “Look,” David said, “I am living in a beautiful cedar palace,[a] but the Ark of God is out there in a tent!”
3 Nathan replied to the king, “Go ahead and do whatever you have in mind, for the Lord is with you.”
4 But that same night the Lord said to Nathan,
5 “Go and tell my servant David, ‘This is what the Lord has declared: Are you the one to build a house for me to live in? 6 I have never lived in a house, from the day I brought the Israelites out of Egypt until this very day. I have always moved from one place to another with a tent and a Tabernacle as my dwelling. 7 Yet no matter where I have gone with the Israelites, I have never once complained to Israel’s tribal leaders, the shepherds of my people Israel. I have never asked them, “Why haven’t you built me a beautiful cedar house?”’
8 “Now go and say to my servant David, ‘This is what the Lord of Heaven’s Armies has declared: I took you from tending sheep in the pasture and selected you to be the leader of my people Israel. 9 I have been with you wherever you have gone, and I have destroyed all your enemies before your eyes. Now I will make your name as famous as anyone who has ever lived on the earth! 10 And I will provide a homeland for my people Israel, planting them in a secure place where they will never be disturbed. Evil nations won’t oppress them as they’ve done in the past, 11 starting from the time I appointed judges to rule my people Israel. And I will give you rest from all your enemies.
“‘Furthermore, the Lord declares that he will make a house for you—a dynasty of kings! 12 For when you die and are buried with your ancestors, I will raise up one of your descendants, your own offspring, and I will make his kingdom strong. 13 He is the one who will build a house—a temple—for my name. And I will secure his royal throne forever. 14 I will be his father, and he will be my son. If he sins, I will correct and discipline him with the rod, like any father would do. 15 But my favor will not be taken from him as I took it from Saul, whom I removed from your sight. 16 Your house and your kingdom will continue before me[b] for all time, and your throne will be secure forever.’”
17 So Nathan went back to David and told him everything the Lord had said in this vision.
The Ancestors of Jesus the Messiah
This is a record of the ancestors of Jesus the Messiah, a descendant of David and of Abraham[a]:
2 Abraham was the father of Isaac.
Isaac was the father of Jacob.
Jacob was the father of Judah and his brothers.
3 Judah was the father of Perez and Zerah (whose mother was Tamar).
Perez was the father of Hezron.
Hezron was the father of Ram.[b]
4 Ram was the father of Amminadab.
Amminadab was the father of Nahshon.
Nahshon was the father of Salmon.
5 Salmon was the father of Boaz (whose mother was Rahab).
Boaz was the father of Obed (whose mother was Ruth).
Obed was the father of Jesse.
6 Jesse was the father of King David.
David was the father of Solomon (whose mother was Bathsheba, the widow of Uriah).
7 Solomon was the father of Rehoboam.
Rehoboam was the father of Abijah.
Abijah was the father of Asa.[c]
8 Asa was the father of Jehoshaphat.
Jehoshaphat was the father of Jehoram.[d]
Jehoram was the father[e] of Uzziah.
9 Uzziah was the father of Jotham.
Jotham was the father of Ahaz.
Ahaz was the father of Hezekiah.
10 Hezekiah was the father of Manasseh.
Manasseh was the father of Amon.[f]
Amon was the father of Josiah.
11 Josiah was the father of Jehoiachin[g] and his brothers (born at the time of the exile to Babylon).
12 After the Babylonian exile:
Jehoiachin was the father of Shealtiel.
Shealtiel was the father of Zerubbabel.
13 Zerubbabel was the father of Abiud.
Abiud was the father of Eliakim.
Eliakim was the father of Azor.
14 Azor was the father of Zadok.
Zadok was the father of Akim.
Akim was the father of Eliud.
15 Eliud was the father of Eleazar.
Eleazar was the father of Matthan.
Matthan was the father of Jacob.
16 Jacob was the father of Joseph, the husband of Mary.
Mary gave birth to Jesus, who is called the Messiah.
17 All those listed above include fourteen generations from Abraham to David, fourteen from David to the Babylonian exile, and fourteen from the Babylonian exile to the Messiah.