How do you read :NAsbU Matthew 1:19 And Joseph her husband,
being a righteous man and not wanting to disgrace her,
planned to send her away secretly.
Joseph was not her husband and all the children they had were not theirs, they were cousins. Or so says the gospel of Mary.