Matthew (1:1-11) and of Luke (3:23-38 gives two entirely different genealogies of Jesus, both ending with Joseph as the father of Jesus. They both start with David and they both end with Jesus, but the names in between are completely different.
There aren't even the same number of names in the two lists.
They don't even agree on who Joseph's father is. And Jesus is not actullay the Son of Joseph.
How do we reconcile these different. A detailed examination in the context of Hebrew culture will give us the answers. The beauty of this study is that it shows how Jesus is legally the son of David and in flesh the son of David through Nathan through Zelophahad custom of Adoption through Joseph's marriage with Mary.