1 After this, the cupbearer and the baker of the king of Egypt gave offense to their lord, the king of Egypt.
2 Pharaoh was furious with his two officials, the chief cupbearer and the chief baker,
3 and he had them put in custody in the house of the captain of the guard, in the prison where Joseph was being held.
4 The captain of the guard assigned Joseph to them, and he waited on them. They remained in custody for some time.
5 One night the two of them, the cupbearer and the baker of the king of Egypt, who were held in the prison, each had a dream, and each dream had a meaning of its own.
6 When Joseph came to them in the morning and looked at them, he saw that they were downcast.
7 So he asked Pharaoh's officials who were in custody with him in his master's house, "Why do you look so gloomy today?"
8 "We each had a dream," they answered him, "and there is no one to interpret it." Joseph said to them, "Are not interpretations God's affair? Tell me your dreams."
9 So the chief cupbearer told Joseph his dream. "In my dream," he said to him, "there was a vine in front of me,
10 and the vine had three branches. As soon as it budded, it burst into blossom, and its clusters ripened into grapes.
11 Pharaoh's cup was in my hand; I took the grapes, squeezed them into Pharaoh's cup, and placed the cup in Pharaoh's hand."
12 Joseph said to him, "Here is what it means: the three branches are three days.
13 In three days Pharaoh will lift up your head and give you back your post, and you will place Pharaoh's cup in his hand, as was your custom before, when you served as his cupbearer.
14 Only remember me when things go well with you; do me the kindness of mentioning me to Pharaoh, and get me out of this house.
15 For I was kidnapped from the land of the Hebrews, and even here I have done nothing to deserve being put in this dungeon."
16 When the chief baker saw that the interpretation was favorable, he said to Joseph, "I too had a dream: there were three baskets of white bread on my head.
17 In the top basket were all sorts of baked goods for Pharaoh, a baker's handiwork, and the birds were eating them out of the basket on my head."
18 Joseph answered, "Here is what it means: the three baskets are three days.
19 In three days Pharaoh will lift up your head from you and hang you on a tree, and the birds will eat the flesh off you."
20 On the third day, Pharaoh's birthday, he gave a feast for all his servants, and in the presence of his servants he lifted up the head of the chief cupbearer and the head of the chief baker.
21 He put the chief cupbearer back in his position as cupbearer, and he once again placed the cup in Pharaoh's hand.
22 But the chief baker he hanged, just as Joseph had told them in his interpretation.
23 The chief cupbearer, however, did not remember Joseph; he forgot him.