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.