The book of the genealogy of Jesus Christ, the son of David, the son of Abraham. (Matthew 1:1)This is reminiscent of Genesis which states,
This is the book of the generations of Adam. (Genesis 5:1)Comparing Matthew to the Septuagint
- Βίβλος γενέσεως Ἰησοῦ Χριστοῦ (Matthew 1:1)
- αὕτη ἡ βίβλος γενέσεως ἀνθρώπων (Genesis 5:1)
Matthew then outlines an abbreviated and stylised genealogy of Jesus starting from Abraham. There are 3 sections of 14 names. Matthew possibly uses groups of 14 as the Hebrew gematria of David is 14.
The genealogy, while accurate in the names it contains, excludes several generations to keep 14 names in each list. The 3 groups are Abraham to David, David to the Babylonian Exile, and the Exile to Jesus.
It is uncertain whether the last list ends at 13 persons or whether Mary should be considered number 13 with Jesus number 14.
Matthew also includes 5 women ancestors. Mary Jesus' mother as mentioned. Also Tamar the mother of Perez by Judah; Rahab the wife of Salmon; Ruth the wife of Boaz; and the wife of Uriah (Bathsheba) who became the wife of David.
This is the ancestry of Joseph the husband of Mary the mother of Jesus. Compare Luke's list which is the ancestry through Mary. Luke starts his list thus,
Jesus, when he began his ministry, was about thirty years of age, being the son (as was supposed) of Joseph, the son of Heli,... (Luke 3:23 ESV)This may possibly be better translated,
Jesus, when he began his ministry, was about thirty years of age, being the son, as it was supposed, of Joseph, but was actually the son of Heli,...This seems to me to be a better option than the claim that Heli was the adoptive father of Joseph.
Thus this genealogy is that of Jesus via Mary which Luke traces back to Adam the son of God.