And her husband Joseph, being a just man and unwilling to put her to shame, resolved to divorce her quietly.
19. As he was a just man Some commentators explain this to mean, that Joseph, because he was a just man, determined to spare his wife: “Que Joseph a voulu pardonner a sa femme, et couvrir la faute, d'autant qu'il estoit juste.” — “That Joseph intended to forgive his wife, and conceal her offense, because he was just.” taking justice to be only another name...
The mystery of Christ's incarnation is to be adored, not pried into. If we know not the way of the Spirit in the formation of common persons, nor how the bones are formed in the womb of any one that is with child (Ecc 11:5), much less do we know how the blessed Jesus was formed in the womb of the blessed virgin.
Commenting on Matthew 1:18-25
Then Joseph her husband,.... To whom she had been betrothed, and who was her husband, and she his wife according to the Jewish law, Deu 22:23 though not yet come together, being a just man, observant of the law of God, particularly that which respected adultery, being wholly good and chaste, like the Patriarch of the same name; a character just the reverse of that...