Surprising as this may sound, the answer is no.
We find the genealogies of Jesus listed in Matthew 1 and Luke 3. But Matthew 1 and Luke 3 describe different lines. Matthew 1 describes Christ’s legal genealogy through Joseph. Luke sets forth Mary’s physical line.
Matthew 1:16 tells us that Matthew’s record covers Christ’s lineage through His stepfather Joseph. It says “Jacob begat Joseph, the husband of Mary, of whom was born Jesus who is called Christ.”
A correct rendering of Luke 3:23 shows that Luke is setting forth Christ’s blood descent. However, the translation of the New King James Bible is misleading. It gives the impression that Joseph was the father of Heli, and that therefore, Luke is also setting forth Christ’s physical descent of Joseph. This is incorrect, as Joseph was not the SON of Heli, but of Jacob, as Matthew 1:16 points out.
Luke sets forth Christ’s physical genealogy through His mother Mary, NOT through His stepfather Joseph. Accurately translated, Luke 3:23 should read:
“Now Jesus Himself began His ministry at about thirty years of age (being, as was supposed the son of Joseph), which was of Heli.” The parenthesis should start with the words “being, as was supposed,” and it should close after “the son of Joseph.” The word “son” in “son…