Genesis 39:6-20 HCSB
He left all that he owned under Joseph’s authority; he did not concern himself with anything except the food he ate.
Now Joseph was well-built and handsome. After some time his master’s wife looked longingly at Joseph and said, “Sleep with me.”
But he refused. “Look,” he said to his master’s wife, “with me here my master does not concern himself with anything in his house, and he has put all that he owns under my authority. No one in this house is greater than I am. He has withheld nothing from me except you, because you are his wife. So how could I do such a great evil and sin against God? ”
Although she spoke to Joseph day after day, he refused to go to bed with her. Now one day he went into the house to do his work, and none of the household servants were there. She grabbed him by his garment and said, “Sleep with me! ” But leaving his garment in her hand, he escaped and ran outside. When she saw that he had left his garment with her and had run outside, she called the household servants. “Look,” she said to them, “my husband brought a Hebrew man to make fools of us. He came to me so he could sleep with me, and I screamed as loud as I could. When he heard me screaming for help, he left his garment with me and ran outside.”
She put Joseph’s garment beside her until his master came home. Then she told him the same story: “The Hebrew slave you brought to us came to make a fool of me, but when I screamed for help, he left his garment with me and ran outside.”
When his master heard the story his wife told him — “These are the things your slave did to me” — he was furious and had him thrown into prison, where the king’s prisoners were confined. So Joseph was there in prison.
HCSB: Holman Christian Standard Bible