1A record of the ancestry of Jesus the Messiah, son of David, son of Abraham.
2Abraham was the father of Isaac; Isaac was the father of Jacob; Jacob was the father of Judah and his brothers.
3Judah was the father of Perez and Zerah, whose mother was Tamar; Perez was the father of Hezron; Hezron was the father of Ram.
4Ram was the father of Amminadab; Amminadab was the father of Nahshon; Nahshon was the father of Salmon.
5Salmon 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.
6Jesse was the father of King David. David was the father of Solomon, whose mother had been Uriah's wife.
7Solomon was the father of Rehoboam; Rehoboam was the father of Abijah; Abijah was the father of Asaph.
8Asaph was the father of Jehoshaphat; Jehoshaphat was the father of Joram; Joram was the father of Uzziah.
9Uzziah was the father of Jotham; Jotham was the father of Ahaz; Ahaz was the father of Hezekiah.
10Hezekiah was the father of Manasseh; Manasseh was the father of Amos; Amos was the father of Josiah.
11Josiah was the father of Jeconiah and his brothers at the time of the deportation to Babylon.
12After the deportation to Babylon, Jeconiah was the father of Shealtiel; Shealtiel was the father of Zerubbabel.
13Zerubbabel was the father of Abiud; Abiud was the father of Eliakim; Eliakim was the father of Azor.
14Azor was the father of Zadok; Zadok was the father of Achim; Achim was the father of Eliud.
15Eliud was the father of Eleazar; Eleazar was the father of Matthan; Matthan was the father of Jacob.
16Jacob was the father of Joseph, the husband of Mary. From her Jesus was born, who is called the Messiah.
17So there were fourteen generations from Abraham to David, fourteen from David to the deportation to Babylon, and fourteen from the deportation to Babylon to the Messiah.
18This is how the birth of Jesus the Messiah came about. His mother Mary was pledged in marriage to Joseph, but before they came together, she was found to be pregnant through the Holy Spirit.
19Joseph, her husband, was a righteous man. Unwilling to expose her to public disgrace, he decided to divorce her privately.
20But as he considered this, an angel of the Lord appeared to him in a dream and said, "Joseph, son of David, do not be afraid to take Mary as your wife. What has been conceived in her is from the Holy Spirit.
21She will give birth to a son, and you are to name him Jesus, because he will save his people from their sins."
22All this happened to fulfil what the Lord had spoken through the prophet:
23"Look, the virgin will conceive and give birth to a son, and they will name him Immanuel" - which means "God with us."
24When Joseph woke from sleep, he did what the angel of the Lord had commanded him and took Mary as his wife.
25But he did not have sexual relations with her until she had given birth to a son. He named him Jesus.