Joseph her husband, since he was a righteous man, yet unwilling to expose her to shame, decided to divorce her quietly.