written by Moses* in Genesis 39:1-40:23
Now Joseph had been brought down to Egypt, and Potiphar, an officer of Pharaoh, the captain of the guard, an Egyptian, had bought him from the Ishmaelites who had brought him down there. The Lord was with Joseph, and he became a successful man, and he was in the house of his Egyptian master. His master saw that the Lord was with him and that the Lord caused all that he did to succeed in his hands. So Joseph found favor in his sight and attended him, and he made him overseer of his house and put him in charge of all that he had. From the time that he made him overseer in his house and over all that he had the Lord blessed the Egyptian’s house for Joseph’s sake; the blessing of the Lord was on all that he had, in house and field. So he left all that he had in Joseph’s charge, and because of him he had no concern about anything but the food he ate.
Now Joseph was handsome in form and appearance. And after a time his master’s wife cast her eyes on Joseph and said, “Lie with me.” But he refused and said to his master’s wife, “Behold, because of me my master has no concern about anything in the house, and he has put everything that he has in my charge. He is not greater in this house than I am, nor has he kept back anything from me except yourself, because you are his wife. How then can I do this great wickedness and sin against God?” And as she spoke to Joseph day after day, he would not listen to her, to lie beside her or to be with her.
But one day, when he went into the house to do his work and none of the men of the house was there in the house, she caught him by his garment, saying, “Lie with me.” But he left his garment in her hand and fled and got out of the house. And as soon as she saw that he had left his garment in her hand and had fled out of the house, she called to the men of her household and said to them, “See, he has brought among us a Hebrew to laugh at us. He came in to me to lie with me, and I cried out with a loud voice. And as soon as he heard that I lifted up my voice and cried out, he left his garment beside me and fled and got out of the house.” Then she laid up his garment by her until his master came home, and she told him the same story, saying, “The Hebrew servant, whom you have brought among us, came in to me to laugh at me. But as soon as I lifted up my voice and cried, he left his garment beside me and fled out of the house.”
As soon as his master heard the words that his wife spoke to him, “This is the way your servant treated me,” his anger was kindled. And Joseph’s master took him and put him into the prison, the place where the king’s prisoners were confined, and he was there in prison. But the Lord was with Joseph and showed him steadfast love and gave him favor in the sight of the keeper of the prison. And the keeper of the prison put Joseph in charge of all the prisoners who were in the prison. Whatever was done there, he was the one who did it. The keeper of the prison paid no attention to anything that was in Joseph’s charge, because the Lord was with him. And whatever he did, the Lord made it succeed.
Some time after this, the cupbearer of the king of Egypt and his baker committed an offense against their lord the king of Egypt. And Pharaoh was angry with his two officers, the chief cupbearer and the chief baker, and he put them in custody in the house of the captain of the guard, in the prison where Joseph was confined. The captain of the guard appointed Joseph to be with them, and he attended them. They continued for some time in custody.
And one night they both dreamed—the cupbearer and the baker of the king of Egypt, who were confined in the prison—each his own dream, and each dream with its own interpretation. When Joseph came to them in the morning, he saw that they were troubled. So he asked Pharaoh’s officers who were with him in custody in his master’s house, “Why are your faces downcast today?” They said to him, “We have had dreams, and there is no one to interpret them.” And Joseph said to them, “Do not interpretations belong to God? Please tell them to me.”
So the chief cupbearer told his dream to Joseph and said to him, “In my dream there was a vine before me, and on the vine there were three branches. As soon as it budded, its blossoms shot forth, and the clusters ripened into grapes. Pharaoh’s cup was in my hand, and I took the grapes and pressed them into Pharaoh’s cup and placed the cup in Pharaoh’s hand.” Then Joseph said to him, “This is its interpretation: the three branches are three days. In three days Pharaoh will lift up your head and restore you to your office, and you shall place Pharaoh’s cup in his hand as formerly, when you were his cupbearer. Only remember me, when it is well with you, and please do me the kindness to mention me to Pharaoh, and so get me out of this house. For I was indeed stolen out of the land of the Hebrews, and here also I have done nothing that they should put me into the pit.”
When the chief baker saw that the interpretation was favorable, he said to Joseph, “I also had a dream: there were three cake baskets on my head, and in the uppermost basket there were all sorts of baked food for Pharaoh, but the birds were eating it out of the basket on my head.” And Joseph answered and said, “This is its interpretation: the three baskets are three days. In three days Pharaoh will lift up your head—from you!—and hang you on a tree. And the birds will eat the flesh from you.”
On the third day, which was Pharaoh’s birthday, he made a feast for all his servants and lifted up the head of the chief cupbearer and the head of the chief baker among his servants. He restored the chief cupbearer to his position, and he placed the cup in Pharaoh’s hand. But he hanged the chief baker, as Joseph had interpreted to them. Yet the chief cupbearer did not remember Joseph, but forgot him.