Genesis 39:14-20

39:14 she called for her household servants and said to them, “See, my husband brought in a Hebrew man to us to humiliate us. He tried to have sex with me, but I screamed loudly. 39:15 When he heard me raise my voice and scream, he left his outer garment beside me and ran outside.”

39:16 So she laid his outer garment beside her until his master came home. 39:17 This is what she said to him: “That Hebrew slave you brought to us tried to humiliate me, 39:18 but when I raised my voice and screamed, he left his outer garment and ran outside.”

39:19 When his master heard his wife say, “This is the way your slave treated me,” he became furious. 39:20 Joseph’s master took him and threw him into the prison, the place where the king’s prisoners were confined. So he was there in the prison.