He is the rightful King through Joseph, and the rightful Priest through Mary, and it just so happens there were 14 generations from Abraham to David, 14 generations from David to the deportation to Babylon, and 14 generations from the deportation to Babylon to the Christ.
I’m sure it was all just coincidence!
***He is the rightful King through Joseph,***
NO HE IS NOT!
The geneology in MATTHEW lists Jechonias/Jehoiakim as a forbearer but the Prophet Jeremiah says this about his descendents.
Jer 36:30 Therefore thus saith the LORD of Jehoiakim king of Judah; He shall have none to sit upon the throne of David: and his dead body shall be cast out in the day to the heat, and in the night to the frost.
Therefore, Jesus is not descended through Joseph, but through Mary in Luke.