391Now the Ishmaelites had taken Joseph to Egypt and sold him to Potiphar, one of the king's officers, who was the captain of the palace guard. 2
The LORD was with Joseph and made him successful. He lived in the house of his Egyptian master, 3who saw that the LORD was with Joseph and had made him successful in everything he did. 4Potiphar was pleased with him and made him his personal servant; so he put him in charge of his house and everything he owned. 5From then on, because of Joseph the LORD blessed the household of the Egyptian and everything that he had in his house and in his fields. 6Potiphar handed over everything he had to the care of Joseph and did not concern himself with anything except the food he ate.
Joseph was well-built and good-looking, 7and after a while his master's wife began to desire Joseph and asked him to go to bed with her. 8He refused and said to her, “Look, my master does not have to concern himself with anything in the house, because I am here. He has put me in charge of everything he has. 9I have as much authority in this house as he has, and he has not kept back anything from me except you. How then could I do such an immoral thing and sin against God?” 10Although she asked Joseph day after day, he would not go to bed with her.
11But one day when Joseph went into the house to do his work, none of the house servants was there. 12She caught him by his robe and said, “Come to bed with me.” But he escaped and ran outside, leaving his robe in her hand. 13When she saw that he had left his robe and had run out of the house, 14she called to her house servants and said, “Look at this! This Hebrew that my husband brought to the house is insulting us. He came into my room and tried to rape me, but I screamed as loud as I could. 15When he heard me scream, he ran outside, leaving his robe beside me.”
16She kept his robe with her until Joseph's master came home. 17Then she told him the same story: “That Hebrew slave that you brought here came into my room and insulted me. 18But when I screamed, he ran outside, leaving his robe beside me.”
19Joseph's master was furious 20and had Joseph arrested and put in the prison where the king's prisoners were kept, and there he stayed. 21
But the LORD was with Joseph and blessed him, so that the jailer was pleased with him. 22He put Joseph in charge of all the other prisoners and made him responsible for everything that was done in the prison. 23The jailer did not have to look after anything for which Joseph was responsible, because the LORD was with Joseph and made him succeed in everything he did.