2 Abraham fathered Isaac, Isaac fathered Jacob, and Jacob fathered Judah and his brothers. 3 Judah fathered Perez and Zerah by Tamar, Perez fathered Hezron, Hezron fathered Aram, 4 Aram fathered Amminadab, Amminadab fathered Nahshon, and Nahshon fathered Salmon. 5 Salmon fathered Boaz by Rahab, Boaz fathered Obed by Ruth, Obed fathered Jesse, 6 and Jesse fathered King David.
7 David fathered Solomon by the wife of Uriah, Solomon fathered Rehoboam, Rehoboam fathered Abijah, Abijah fathered Asaph, 8 Asaph fathered Jehoshaphat, Jehoshaphat fathered Joram, Joram fathered Uzziah, 9 Uzziah fathered Jotham, Jotham fathered Ahaz, Ahaz fathered Hezekiah, 10 Hezekiah fathered Manasseh, Manasseh fathered Amos, and Amos fathered Josiah. 11 Josiah fathered Jechoniah and his brothers at the time of the deportation to Babylon.
12 After the deportation to Babylon, Jechoniah fathered Salathiel, Salathiel fathered Zerubbabel, 13 Zerubbabel fathered Abiud, Abiud fathered Eliakim, Eliakim fathered Azor, 14 Azor fathered Zadok, Zadok fathered Achim, Achim fathered Eliud, 15 Eliud fathered Eleazar, Eleazar fathered Matthan, and Matthan fathered Jacob. 16 Jacob fathered Joseph, the husband of Mary, who was the mother of Jesus, who is called the Messiah.
17 So all the generations from Abraham to David totaled fourteen generations, and from David to the deportation to Babylon totaled fourteen generations, and from the deportation to Babylon to the Messiah there were fourteen generations.
18 Now the birth of Jesus the Messiah happened in this way. When his mother Mary was engaged to Joseph, before they lived together she was discovered to be pregnant by the Holy Spirit. 19 Her husband Joseph, being a righteous man and unwilling to disgrace her, decided to divorce her secretly.
20 After he had thought about it, an angel of the Lord appeared to him in a dream. "Joseph, son of David," he said, "don't be afraid to take Mary as your wife, because what has been conceived in her is from the Holy Spirit. 21 She will give birth to a son, and you are to name him Jesus, because he is the one who will save his people from their sins."
22 Now all this happened to fulfill what was declared by the Lord through the prophet when he said,
23 "See, a virgin will become pregnant and give birth to a son, and they will name him Immanuel,"