Eliyahu said:That is your guesswork.
Do you have any proof to prove that the genealogy is Mary's?
Here is the comment from Matthew Henry's commentary:
His pedigree, v. 23, etc. Matthew had given us somewhat of this. He goes no higher than Abraham, but Luke brings it as high as Adam. Matthew designed to show that Christ was the son of Abraham, in whom all the families of the earth are blessed, and that he was heir to the throne of David; and therefore he begins with Abraham, and brings the genealogy down to Jacob, who was the father of Joseph, and heir-male of the house of David: but Luke, designing to show that Christ was the seed of the woman, that should break the serpent’s head, traces his pedigree upward as high as Adam, and begins it with Ei, or Heli, who was the father, not of Joseph, but of the virgin Mary.