Genesis 39:6-20 NASB1995
So he left everything he owned in Joseph’s charge; and with him there he did not concern himself with anything except the food which he ate.
N ow Joseph was handsome in form and appearance. It came about after these events that his master’s wife looked with desire at Joseph, and she said, “Lie with me.” But he refused and said to his master’s wife, “Behold, with me here, my master does not concern himself with anything in the house, and he has put all that he owns in my charge. There is no one greater in this house than I, and he has withheld nothing from me except you, because you are his wife. How then could I do this great evil and sin against God?” As she spoke to Joseph day after day, he did not listen to her to lie beside her or be with her. Now it happened one day that he went into the house to do his work, and none of the men of the household was there inside. She caught him by his garment, saying, “Lie with me!” And he left his garment in her hand and fled, and went outside. When she saw that he had left his garment in her hand and had fled outside, she called to the men of her household and said to them, “See, he has brought in a Hebrew to us to make sport of us; he came in to me to lie with me, and I screamed. When he heard that I raised my voice and screamed, he left his garment beside me and fled and went outside.” So she left his garment beside her until his master came home. Then she spoke to him with these words, “The Hebrew slave, whom you brought to us, came in to me to make sport of me; and as I raised my voice and screamed, he left his garment beside me and fled outside.”
Now when his master heard the words of his wife, which she spoke to him, saying, “This is what your slave did to me,” his anger burned. So Joseph’s master took him and put him into the jail, the place where the king’s prisoners were confined; and he was there in the jail.
NASB1995: New American Standard Bible - NASB 1995