Genesis 39
1Joseph had been taken down to Egypt. Potiphar, an Egyptian who served Pharaoh as commander of the royal guards, bought him from the Ishmaelites who had brought him there.
2Yahweh was with Joseph, and things went well for him. He lived in the house of his Egyptian master. 3His master saw that Yahweh was with Joseph and was making everything he did succeed. 4Joseph won his master’s favor and served him well, so his master put him in charge of the household and placed everything he owned in Joseph’s hands. 5From the moment he gave Joseph that responsibility, Yahweh blessed the Egyptian’s household because of Joseph. Yahweh’s blessing rested on everything he owned, in the house and in the fields. 6He left all he had in Joseph’s care and gave no thought to anything except the food set before him.
7After these things, his master’s wife began watching Joseph closely. She said, “Come to bed with me.”
8But he refused. He told his master’s wife, “Look, with me here my master does not have to concern himself with anything in the house. He has put everything he owns in my hands. 9No one in this house has more authority than I do. He has kept nothing back from me except you, because you are his wife. How could I do such a great wrong and sin against God?” 10Though she spoke to Joseph day after day, he would not agree to lie with her or even stay near her.
11One day Joseph went into the house to do his work. None of the household servants was inside. 12She grabbed his garment and said, “Come to bed with me!” But he left his garment in her hand, ran, and got 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 brought this Hebrew man among us to make a mockery of us. He came in to sleep with me, but I shouted as loud as I could. 15When he heard me raise my voice and shout, he left his garment beside me, ran, and got outside.” 16She kept his garment beside her until his master came home. 17Then she gave him the same account: “That Hebrew slave you brought among us came in to make a mockery of me. 18But when I raised my voice and shouted, he left his garment beside me and fled outside.”
19When his master heard what his wife said—“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 prisoners were held. So Joseph remained there in prison.
21But Yahweh was with Joseph. He showed him faithful kindness and gave him favor in the eyes of the prison warden. 22The warden put all the prisoners in Joseph’s care, and Joseph was responsible for everything done there. 23The warden did not have to supervise anything under Joseph’s care, because Yahweh was with him. Whatever Joseph did, Yahweh made it succeed. - IA: codex:gpt-5.6-terra