NET
19 Because Joseph, her husband to be, was a righteous man, and because he did not want to disgrace her, he intended to divorce her privately.
Darby
19 But Joseph, her husband, being [a] righteous [man], and unwilling to expose her publicly, purposed to have put her away secretly;
KJV
19 Then Joseph her husband, being a just [man], and not willing to make her a publick example, was minded to put her away privily.