You got two choices, Matthew with the Curse of Jechonias traced back to Solomon, and Luke with the linage traced back to Nathan, Son of David.
Ancient pro and anti-Christian texts claim Luke is about Mary.
Matthew = Joseph
Luke=joseph
Joseph = not related to Jesus. Step father.retty simple really.