Joseph in Pontiphar's House
Pontiphar's wife tried several times to temp Joseph to have sex with her, but Joseph remained faithful to God's law. In all events, Joseph chose to be obedient to God.
In anger, for his refusal to have an affair with her, Pontiphar's wife lied to her husband and accused Joseph of forcing her to have sex.
And so it was, when she saw that he had left his garment in her hand and fled outside, that she called to the men of her house and spoke to them, saying, “See, he has brought in to us a Hebrew to mock us. He came in to me to lie with me, and I cried out with a loud voice. And it happened, when he heard that I lifted my voice and cried out, that he left his garment with me, and fled and went outside.” So she kept his garment with her until his master came home. Then she spoke to him with words like these, saying, “The Hebrew servant whom you brought to us came in to me to mock me; so it happened, as I lifted my voice and cried out, that he left his garment with me and fled outside.”
For this, Joseph was sent to prison. While in prison, God was still with Joseph and the Warden put Joseph in charge of the prison and again Joseph had great success.