The bible is full of contradictions. ( I believe I have a list of over 100 but this one may pertain to you. )
Luke 3: 23
The Genealogy of Christ Through Mary may be of assistance if you prefer the biblical route,
23 Now Jesus himself was about thirty years old when he began his ministry. He was the son, so it was thought, of Joseph,
the son of Heli, 24 the son of Matthat,
the son of Levi, the son of Melki,
the son of Jannai, the son of Joseph,
25 the son of Mattathias, the son of Amos,
the son of Nahum, the son of Esli,
the son of Naggai, 26 the son of Maath,
the son of Mattathias, the son of Semein,
the son of Josek, the son of Joda,
27 the son of Joanan, the son of Rhesa,
the son of Zerubbabel, the son of Shealtiel,
the son of Neri, 28 the son of Melki,
the son of Addi, the son of Cosam,
the son of Elmadam, the son of Er,
29 the son of Joshua, the son of Eliezer,
the son of Jorim, the son of Matthat,
the son of Levi, 30 the son of Simeon,
the son of Judah, the son of Joseph,
the son of Jonam, the son of Eliakim,
31 the son of Melea, the son of Menna,
the son of Mattatha, the son of Nathan,
the son of David, 32 the son of Jesse,
the son of Obed, the son of Boaz,
the son of Salmon,[d] the son of Nahshon,
33 the son of Amminadab, the son of Ram,[e]
the son of Hezron, the son of Perez,
the son of Judah, 34 the son of Jacob,
the son of Isaac, the son of Abraham,
the son of Terah, the son of Nahor,
35 the son of Serug, the son of Reu,
the son of Peleg, the son of Eber,
the son of Shelah, 36 the son of Cainan,
the son of Arphaxad, the son of Shem,
the son of Noah, the son of Lamech,
37 the son of Methuselah, the son of Enoch,
the son of Jared, the son of Mahalalel,
the son of Kenan, 38 the son of Enosh,
the son of Seth, the son of Adam,
the son of God.
BUT THEN
Matthew 1:1
This is the genealogy[a] of Jesus the Messiah the son of David, the son of Abraham:
Jesus descended from which son of David?
(Matthew 1:6) Solomon
There are even 4 variations as to what was actually written on his cross.
And just to spice things up a bit, I have also read that some believe Jesus to be the actual son of Gabriel the angel. ( Gabriel is also said to be
father John The Baptist )
Gabriel is the angel who announces the birth of Jesus to Mary and some say that is when the consummation occurred.
" Mary had no trouble understanding who this child would be. He would be the promised Messiah, God's unique Son, Immanuel — God with us. Mary's
only question was how it would be accomplished. "How will this be . . . since I am a virgin?" (Luke 1:34). Mary's question was not one of doubt or
unbelief. She believed what the angel said. She just wanted to know how the promise would be fulfilled. Mary's testimony before an angel of God was
that she had never been sexually intimate with Joseph or with any other man. The only way Mary could imagine that she could bear a child was through a
sexual encounter with a man. But Gabriel's answer to her question opened a whole new possibility. "The angel answered, 'The Holy Spirit will come upon
you, and the power of the Most High will overshadow you. So the holy one to be born will be called the Son of God' "(v. 35)."
Maybe that helps a bit or who knows, maybe raises some more questions for you lol