Both Mary and Joseph were related to the Egyptian rulers, that's why they fled to Egypt to escape herods slaughter
But Christ was their son, very accurately recorded in scripture, because he was the actual heir to the throne of Israel
Joseph was from the deposed house of Judah
Mary was a royal arrangement for his spouse because she was royalth as well
I did read a synopsis claiming that Christ's half brothers and sisters were adopted from Cleopatra
But Magdalene was also royalty, her father was a king
I'll sauce this later just jumped in while it was brought up