Matthew 1:16-18

16 Jacob fathered Joseph, the husband of Mary, who was the mother of Jesus, who is called the Christ.

17 So all the generations from Abraham to David were fourteen generations, and from David to the deportation to Babylon were fourteen generations, and from the deportation to Babylon to the Christ were fourteen generations.

18 Now the birth of Jesus Christ happened in this way. When his mother Mary was engaged to Joseph, before they lived together she was discovered to be pregnant by the Holy Spirit.