King James Version
Then Joseph her husband, being a just man, and not willing to make her a publick example, was minded to put her away privily.English Standard Version
And her husband Joseph, being a just man and unwilling to put her to shame, resolved to divorce her quietly.New International Version
Because Joseph her husband was a righteous man and did not want to expose her to public disgrace, he had in mind to divorce her quietly.