This is the genealogy of Jesus the Messiah the son of , the son of Abraham: was the father of Isaac, Isaac the father of Jacob, Jacob the father of and his brothers, the father of Perez and Zerah, whose mother was , Perez the father of Hezron, Hezron the father of Ram, Ram the father of , the father of Nahshon, Nahshon the father of Salmon, Salmon the father of , whose mother was , the father of , whose mother was , the father of Jesse, and Jesse the father of King David.
was the father of , whose mother had been Uriah’s wife, Solomon the father of Rehoboam, Rehoboam the father of , the father of Asa, Asa the father of Jehoshaphat, Jehoshaphat the father of , the father of Uzziah, Uzziah the father of Jotham, Jotham the father of , the father of Hezekiah, Hezekiah the father of , the father of Amon, Amon the father of , and Josiah the father of Jeconiah and his brothers at the time of the exile to Babylon.
After the exile to Babylon: was the father of Shealtiel, Shealtiel the father of , the father of Abihud, Abihud the father of Eliakim, Eliakim the father of , the father of Zadok, Zadok the father of Akim, Akim the father of , the father of Eleazar, Eleazar the father of , the father of Jacob, and Jacob the father of , the husband of , and Mary was the mother of Jesus who is called the Messiah.
Thus there were fourteen generations in all from to David, fourteen from David to the exile to Babylon, and fourteen from the exile to the .