Except there is no evidence for that. Both genealogies state that they were going through Joseph.
Yosef1986: There are many problems with Christianity. One of them is that many of the teachings aren't fully based on the scriptures, and that many people simply don't understand the Bible and thus take only bits and pieces and then string them together to make up a story such as hell.
It is the fault of the false clergy class that people don't understand the Bible.
They have run afoul playing false to God and his Word and more people see that. Even the political world sees a dangerous religious climate brewing in the world today. With backing the United Nations can be strengthened to turn on the world's troublesome religious sector.
Luke traced the line through David's son Nathan. Matthew through Solomon.
Luke follows the ancestry of Mary showing Jesus natural or fleshly descent from David. Luke proving Jesus human birth as a son of David through Mary.
Matthew showing Jesus legal right, male heir, from Solomon through Joseph.
Since the records were public knowledge if there was a question about Jesus surely the religious leaders would have been howling about it.
The problem is not with the Christianity of the first century.
Acts 20:29,30 shows that wolf-like clergy in sheep's clothing would enter in among the flock to fleece it. That is why Jesus gave the illustration of the Wheat [genuine] and Weeds [false Christians] growing together until the harvest time or our time frame of separation. - Matthew 25:32.