39 Now Joseph was taken down to Egypt,+ and an Egyptian named Potʹi·phar,+ a court official of Pharʹaoh and chief of the guard, bought him from the Ishʹma·el·ites+ who had taken him down there. 2 But Jehovah was with Joseph.+ As a result, he became successful and was put over the house of his master, the Egyptian. 3 And his master saw that Jehovah was with him and that Jehovah was making everything that he did successful.
4 Joseph kept finding favor in his eyes, and he became his personal attendant. So he appointed him over his house, and he put him in charge of all that was his. 5 From the time he appointed him over his house and in charge of all that was his, Jehovah kept blessing the house of the Egyptian because of Joseph, and Jehovah’s blessing came to be on all that he had in the house and in the field.+ 6 He eventually left everything that was his in Joseph’s care, and he gave no thought to anything except the food he was eating. Moreover, Joseph grew to be well-built and handsome.
7 Now after these things, the wife of his master began to cast her eyes on Joseph and say: “Lie down with me.” 8 But he refused and said to his master’s wife: “Here my master does not know what is with me in the house, and he has entrusted everything he has into my care. 9 There is no one greater in this house than I am, and he has not withheld from me anything at all except you, because you are his wife. So how could I commit this great badness and actually sin against God?”+
10 So day after day she spoke to Joseph, but he never consented to lie with her or to remain with her. 11 But on one of the days when he went into the house to do his work, none of the household servants were in the house. 12 Then she grabbed hold of him by his garment and said: “Lie down with me!” But he left his garment in her hand and fled outside. 13 As soon as she saw that he had left his garment in her hand and had fled outside, 14 she began to cry out to the men of her house and to say to them: “Look! He brought to us this Hebrew man to make us a laughingstock. He came to me to lie down with me, but I began to cry out at the top of my voice. 15 Then as soon as he heard me raising my voice and screaming, he left his garment beside me and fled outside.” 16 After that she laid his garment beside her until his master came to his house.
17 Then she told him the same thing, saying: “The Hebrew servant whom you brought to us came to me to make me a laughingstock. 18 But as soon as I raised my voice and began to scream, he left his garment beside me and fled outside.” 19 As soon as his master heard the words his wife spoke to him, saying: “These are the things your servant did to me,” his anger blazed. 20 So Joseph’s master took him and gave him over to the prison, the place where the prisoners of the king were kept under arrest, and he remained there in the prison.+
21 But Jehovah continued with Joseph and kept showing loyal love to him and granting him favor in the eyes of the chief officer of the prison.+ 22 So the chief officer of the prison put Joseph in charge of all the prisoners in the prison, and everything that they were doing there, he was the one having it done.+ 23 The chief officer of the prison was looking after absolutely nothing that was in Joseph’s care, for Jehovah was with Joseph and Jehovah made whatever he did successful.+
40 After these things, the chief cupbearer+ of the king of Egypt and the chief baker sinned against their lord, the king of Egypt. 2 So Pharʹaoh grew indignant at his two officers, the chief cupbearer and the chief baker,+ 3 and he committed them to the jail of the house of the chief of the guard,+ to the place where Joseph was a prisoner.+ 4 Then the chief of the guard assigned Joseph to be with them and to take care of them,+ and they remained in jail for some time.*
5 The cupbearer and the baker of the king of Egypt, who were confined in the prison, each had a dream on the same night, and each dream had its own interpretation. 6 The next morning, when Joseph came in and saw them, they looked dejected. 7 So he asked the officers of Pharʹaoh who were in custody with him in his master’s house: “Why are your faces gloomy today?” 8 At this they said to him: “We each had a dream, but there is no interpreter with us.” Joseph said to them: “Do not interpretations belong to God?+ Relate it to me, please.”
9 So the chief cupbearer related his dream to Joseph, saying to him: “In my dream, there was a vine before me. 10 And on the vine, there were three twigs, and as it was sprouting shoots, it blossomed, and its clusters ripened into grapes. 11 And Pharʹaoh’s cup was in my hand, and I took the grapes and squeezed them out into Pharʹaoh’s cup. After that I put the cup in Pharʹaoh’s hand.” 12 Then Joseph said to him: “This is its interpretation: The three twigs are three days. 13 Three days from now, Pharʹaoh will bring you out,* restoring you to your office,+ and you will put Pharʹaoh’s cup into his hand as you did before when you were his cupbearer.+ 14 Nevertheless, you must remember me when things go well with you. Please show me loyal love and mention me to Pharʹaoh, in order to get me out of this place. 15 I was, in fact, kidnapped from the land of the Hebrews,+ and I have not done anything here for which they should put me in prison.”*+
16 When the chief baker saw that Joseph had interpreted something good, he said to him: “I too was in my dream, and there were three baskets of white bread on my head, 17 and in the top basket, there were all sorts of baked goods for Pharʹaoh, and there were birds eating them out of the basket on top of my head.” 18 Then Joseph answered, “This is its interpretation: The three baskets are three days. 19 Three days from now, Pharʹaoh will behead you* and will hang you on a stake, and the birds will eat your flesh from you.”+
20 Now the third day was Pharʹaoh’s birthday,+ and he made a feast for all his servants, and he brought out* both the chief cupbearer and the chief baker in the presence of his servants. 21 And he returned the chief cupbearer to his post of cupbearer, and he continued to hand the cup to Pharʹaoh. 22 But he hanged the chief baker, just as Joseph had interpreted to them.+ 23 However, the chief cupbearer did not remember Joseph; he kept forgetting him.+