Matthew and Luke give clear genealogy for both Mary and Joseph back to David. Joseph through Solomon and Mary through Davids son Nathan.
Like many Protestants, you rely on Sola Scriptura, which is of no use without the guidance of the Holy Mother Church who wrote it, and put it together.
You are blind. Even if the Lord himself revealed the truth, you would still disbelieve. This is the end result of Martin Luther’s Heresy.