1Now Joseph had been brought down to Egypt. Potiphar, an officer of Pharaoh and captain of the guard, an Egyptian, bought him from the Ishmaelites who had brought him down there. 2The LORD was with Joseph, and he became a successful man. He was in the house of his Egyptian master. 3His master saw that the LORD was with him and that the LORD made everything he did succeed in his hand. 4Joseph found favor in his eyes and served him, and he appointed him over his house and put all he had in his hand. 5From the time he appointed him over his house and all he had, the LORD blessed the Egyptian’s house because of Joseph. The blessing of the LORD was on all he had, in the house and in the field. 6So he left all he had in Joseph’s hand, and with him there he concerned himself with nothing except the food he ate. Now Joseph was handsome in form and appearance.
7After these things his master’s wife cast her eyes on Joseph and said, “Lie with me.” 8But he refused and said to his master’s wife, “Look, with me here my master does not concern himself with anything in the house, and he has put all he has in my hand. 9He is not greater in this house than I am, 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?” 10Although she spoke to Joseph day after day, he would not listen to her to lie beside her or be with her.
11One day he went into the house to do his work, and none of the men of the household was there in the house. 12She seized him by his garment and said, “Lie with me.” But he left his garment in her hand and fled and went outside.
13When she saw that he had left his garment in her hand and fled outside, 14she called the men of her household and said to them, “Look, he has brought us a Hebrew man to make sport of us. He came in to me to lie with me, and I cried out loudly. 15When he heard me raise my voice and cry out, he left his garment beside me and fled and went outside.”
16She kept his garment beside her until his master came home. 17Then she spoke to him in these words: “The Hebrew slave you brought to us came in to me to make sport of me. 18But when I raised my voice and cried out, he left his garment beside me and fled outside.”
19When his master heard the words his wife spoke to him, “This is what your slave did to me,” his anger burned. 20Joseph’s master took him and put him in the prison, the place where the king’s bound ones were confined. And he was there in the prison.
21But the LORD was with Joseph and extended steadfast love to him, and gave him favor in the eyes of the prison warden. 22The prison warden put all the prisoners in the prison into Joseph’s hand, and whatever was done there, he was the one who did it. 23The prison warden paid no attention to anything in Joseph’s hand, because the LORD was with him; and whatever he did, the LORD made succeed.