Matthew 1 19
Joseph was a good man. He wanted to do what was right. He did not want her to become ashamed in front of people. So he decided to stop their marriage secretly.
Compare with other 3 random translations
NAS Matthew 1:19And her husband Joseph, since he was a righteous man and did not want to disgrace her, planned to send her away secretly.
ASV Matthew 1:19And Joseph her husband, being a righteous man, and not willing to make her a public example, was minded to put her away privily.
NKJ Matthew 1:19Then Joseph her husband, being a just man, and not wanting to make her a public example, was minded to put her away secretly.