Luke 3:23 gives the genealogy of Jesus Christ
This is actually the genealogy of Jesus's earthly father, Joseph. I believe in the virgin birth but I am aware that some people question why the genealogy is given this way. Not wanting to discuss theology here, I will only say that I know Jews living in Bible times considered adopted children to have the same status as others in the family. Are our families today any different? I do not know of any people who were adopted into our family in past generations but we have several living now who are adopted. They are full members of the family.
MATTHEW 1:1-15 GIVES ANOTHER GENEALOGY FOR JESUS
In Luke, Joseph's line is given, but in Matthew it is Mary's line. Luke gives the legal and Matthew the physical. Some confusion is caused by the fact that Joseph's name is given in Matthew as a son of Jacob, Mary's father. The reason is that, in that time, a woman's name was not used in a genealogy. Joseph's name was substituted for Mary's.