Matthew chapter 1 begins with a long list of genealogy. Sometimes I wonder why this is so important to know who "begat" whom. I read something very interesting in The New Testament Made Easier by David Ridges regarding this genealogy. He said:
"We know of course, that Jesus was literally the Son of God, not the son of Joseph. In tracing this genealogy, Matthew points out that Joseph, the Savior's wonderful stepfather, would have been the political king of the Jewish nation at this time if the Romans had not been in power. And Joseph's legal successor to the crown would have been Jesus. See Jesus the Christ, p. 87."
Jesus had royal birthrights from both of his fathers. Isn't that interesting genealogy?