Matthew 1:12-17 - From The Exile To The Messiah

12 After the people [of Judah] were taken away to Babylon, Jeconiah had a son named Shealtiel; Shealtiel had a son named Zerubbabel; 13 Zerubbabel had a son named Abiud; Abiud had a son named Eliakim; Eliakim had a son named Azor; 14 Azor had a son named Sadoc; Sadoc had a son named Achim; Achim had a son named Eliud; 15 Eliud had a son named Eleazar; Eleazar had a son named Matthan; Matthan had a son named Jacob; 16 Jacob had a son named Joseph, who was the husband of Mary. Mary [alone] was the mother of Jesus, who is called the Christ.

17 So, all the generations from Abraham to David were fourteen; from [the time of] King David to the people [of Judah] being taken away to Babylon were [approximately] fourteen generations and from [Judah] being taken away to Babylon to [the time of] Christ were [approximately] fourteen generations.