12 And after they were brought to Babylon, Jeconiah begot Shealtiel, and Shealtiel begot Zerubbabel. 13 Zerubbabel begot Abiud, Abiud begot Eliakim, and Eliakim begot Azor. 14 Azor begot Zadok, Zadok begot Achim, and Achim begot Eliud. 15 Eliud begot Eleazar, Eleazar begot Matthan, and Matthan begot Jacob. 16 And Jacob begot Joseph the husband of Mary, of whom was born Jesus who is called Christ.
17 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.
Matthew 1:12-17 NKJV