Jesus’ genealogy is through Mary.
To a virgin espoused to a man whose name was Joseph, of the house of David; and the virgin's name was Mary.
- Luke 1:27 (KJV)
Joseph, the man Mary was engaged to, was of the house of David, which is to say the house of Judah. So, with the exception of...