The historical record of Jesus Christ, the Son of David, the Son of Abraham:
Abraham fathered Isaac, Isaac fathered Jacob, Jacob fathered Judah and his brothers,
Judah fathered Perez and Zerah by Tamar, Perez fathered Hezron, Hezron fathered Aram,
Aram fathered Aminadab, Aminadab fathered Nahshon, Nahshon fathered Salmon,
Salmon fathered Boaz by Rahab, Boaz fathered Obed by Ruth, Obed fathered Jesse,
and Jesse fathered King David. Then David fathered Solomon by Uriah's wife,
Solomon fathered Rehoboam, Rehoboam fathered Abijah, Abijah fathered Asa,
Asa fathered Jehoshaphat, Jehoshaphat fathered Joram, Joram fathered Uzziah,
Uzziah fathered Jotham, Jotham fathered Ahaz, Ahaz fathered Hezekiah,
Hezekiah fathered Manasseh, Manasseh fathered Amon, Amon fathered Josiah,
and Josiah fathered Jechoniah and his brothers at the time of the exile to Babylon.
Then after the exile to Babylon Jechoniah fathered Salathiel, Salathiel fathered Zerubbabel,
Zerubbabel fathered Abiud, Abiud fathered Eliakim, Eliakim fathered Azor,
Azor fathered Zadok, Zadok fathered Achim, Achim fathered Eliud,
Eliud fathered Eleazar, Eleazar fathered Matthan, Matthan fathered Jacob,
and Jacob fathered Joseph the husband of Mary, who gave birth to Jesus who is called the Messiah.
So all the generations from Abraham to David were 14 generations; and from David until the exile to Babylon, 14 generations; and from the exile to Babylon until the Messiah, 14 generations.