Matthew 1:1-17 NKJV
The book of the genealogy of Jesus Christ, the Son of David, the Son of Abraham:
Abraham begot Isaac, Isaac begot Jacob, and Jacob begot Judah and his brothers. Judah begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot Ram. Ram begot Amminadab, Amminadab begot Nahshon, and Nahshon begot Salmon. Salmon begot Boaz by Rahab, Boaz begot Obed by Ruth, Obed begot Jesse, and Jesse begot David the king.
David the king begot Solomon by her who had been the wife of Uriah. Solomon begot Rehoboam, Rehoboam begot Abijah, and Abijah begot Asa. Asa begot Jehoshaphat, Jehoshaphat begot Joram, and Joram begot Uzziah. Uzziah begot Jotham, Jotham begot Ahaz, and Ahaz begot Hezekiah. Hezekiah begot Manasseh, Manasseh begot Amon, and Amon begot Josiah. Josiah begot Jeconiah and his brothers about the time they were carried away to Babylon.
And after they were brought to Babylon, Jeconiah begot Shealtiel, and Shealtiel begot Zerubbabel. Zerubbabel begot Abiud, Abiud begot Eliakim, and Eliakim begot Azor. Azor begot Zadok, Zadok begot Achim, and Achim begot Eliud. Eliud begot Eleazar, Eleazar begot Matthan, and Matthan begot Jacob. And Jacob begot Joseph the husband of Mary, of whom was born Jesus who is called Christ.
So all the generations from Abraham to David are fourteen generations, from David until the captivity in Babylon are fourteen generations, and from the captivity in Babylon until the Christ are fourteen generations.
NKJV: New King James Version