Joseph is taken down to Egypt and bought by Potiphar, an officer of Pharaoh and captain of the guard. The Lord is with Joseph, and everything he does succeeds. Potiphar sees it, puts him in charge of his house and all he owns, and the Lord blesses the Egyptian's house for Joseph's sake. Potiphar concerns himself with nothing except the food he eats.
Joseph is handsome, and Potiphar's wife looks at him with desire and asks him to lie with her. Joseph refuses. He says his master has trusted him with everything except her, because she is his wife, and that this would be a great evil and a sin against God. She presses him day after day, but he does not give in or stay with her. One day, when no one else is in the house, she grabs him by his garment. Joseph leaves it in her hand and runs outside.
She calls the people of her household and accuses Joseph of trying to take advantage of her; she presents the garment as evidence. When Potiphar comes home, she repeats the accusation. Potiphar's anger burns and he puts Joseph in the prison where the king's prisoners are held. But the Lord is with Joseph, shows him steadfast love and gives him favor in the sight of the prison warden, who puts all the prisoners in his care. The warden pays no attention to anything under Joseph's charge, because the Lord is with him and makes whatever he does succeed.