Matthew 1:2-17 CSB
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 Amminadab, Amminadab fathered Nahshon, Nahshon fathered Salmon, Salmon fathered Boaz by Rahab, Boaz fathered Obed by Ruth, Obed fathered Jesse, and Jesse fathered King David. 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 Jeconiah and his brothers at the time of the exile to Babylon. After the exile to Babylon Jeconiah fathered Shealtiel, Shealtiel 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 fourteen generations; and from David until the exile to Babylon, fourteen generations; and from the exile to Babylon until the Messiah, fourteen generations.