Jesus was human......descended from David both on His father's side and His mothers side. The scriptures provide the lineage of Jesus through both Mary and Joseph. Mary's lineage uses the first male descendant on her side, the father of Mary. Joseph was "supposedly" father of Jesus through with the lineage going through "Eli" (Luke 3:23) Legal Adoption, since Mary and Joseph was married before the birth of Jesus, Jesus then became the legal heir to the lineage of His adopted father..........Joseph, as was the Jewish custom.
Jesus lineage is traced all the way back to Adam going through King David by 2 different sons.
Your argument.....being ignorant of your own Jewish history as recorded in scripture is that Jesus is somehow disqualified from David's throne because He was not descendant through the proper Jewish Tribe. Scriptural Facts: Its true that Jesus was not the literal physical son of Joseph.......yet the scriptures declare He was the carpenters son (Joseph) -- Matt. 13:55. It was the fathers right to name his son, which Joseph did after an angel of the Lord visited him in a dream.........Joseph named his legally adopted Son, Jesus (Matt. 1:24-25) Mary refers to Joseph as the Jesus' father (Luke 2:48). The scriptures never declare that Joseph literally begat Jesus.......Jesus was counted as the legal heir of Joseph through adoption.......and the line goes through Joseph's father Matthew 1:16
The legal right of an adopted Son to trace his line through the adopted father (Joseph) is recorded in Luke 3:23-31. The Talmudic teaches that the adopted child is considered the same as a child that is physically begat.
en.wikipedia.org