1After these things, the cupbearer of the king of Egypt and his baker sinned against their lord, the king of Egypt.
2Pharaoh was angry with his two officials, the chief cupbearer and the chief baker.
3He put them in custody in the house of the captain of the guard, in the prison where Joseph was confined.
4The captain of the guard appointed Joseph to attend them, and he served them. They remained in custody for some time.
5Both of them, the cupbearer and the baker of the king of Egypt who were confined in the prison, dreamed a dream on the same night, each with its own interpretation.
6When Joseph came to them in the morning, he saw that they were troubled.
7He asked Pharaoh’s officials who were with him in custody in his master’s house, “Why are your faces troubled today?”
8They said to him, “We have dreamed a dream, and there is no one to interpret it.” Joseph said to them, “Do not interpretations belong to God? Please tell me.”
9Then the chief cupbearer told his dream to Joseph: “In my dream, there was a vine before me.
10On the vine were three branches. As soon as it budded, its blossoms came out and its clusters ripened into grapes.
11Pharaoh’s cup was in my hand. I took the grapes, pressed them into Pharaoh’s cup, and put the cup in Pharaoh’s hand.”
12Joseph said to him, “This is its interpretation: the three branches are three days.
13Within three days Pharaoh will lift up your head and restore you to your office. You will put Pharaoh’s cup in his hand, according to the former custom when you were his cupbearer.
14But remember me when it goes well with you, and please show me kindness. Mention me to Pharaoh and get me out of this house.
15For I was certainly stolen away from the land of the Hebrews, and here also I have done nothing for which they should put me in the pit.”
16When the chief baker saw that the interpretation was favorable, he said to Joseph, “I too was in my dream, and there were three baskets of white bread on my head.
17In the uppermost basket were all kinds of baked food for Pharaoh, and the birds were eating it from the basket above my head.”
18Joseph answered and said, “This is its interpretation: the three baskets are three days.
19Within three days Pharaoh will lift up your head from you and hang you on a tree, and the birds will eat your flesh from you.”
20On the third day, Pharaoh’s birthday, he made a feast for all his servants. He lifted up the head of the chief cupbearer and the head of the chief baker among his servants.
21He restored the chief cupbearer to his office, and he put the cup in Pharaoh’s hand.
22But he hanged the chief baker, just as Joseph had interpreted to them.
23Yet the chief cupbearer did not remember Joseph, but forgot him.