Genesis 40 New King James Version (NKJV)
The Prisoners’ Dreams
40 It came to pass after these things that the butler and the baker of the king of Egypt offended their lord, the king of Egypt. 2 And Pharaoh was angry with his two officers, the chief butler and the chief baker. 3 So he put them in custody in the house of the captain of the guard, in the prison, the place where Joseph was confined. 4 And the captain of the guard charged Joseph with them, and he served them; so they were in custody for a while.
5 Then the butler and the baker of the king of Egypt, who were confined in the prison, had a dream, both of them, each man’s dream in one night and each man’s dream with its own interpretation. 6 And Joseph came in to them in the morning and looked at them, and saw that they were [a]sad. 7 So he asked Pharaoh’s officers who were with him in the custody of his lord’s house, saying, “Why do you look so sad today?”
8 And they said to him, “We each have had a dream, and there is no interpreter of it.”
So Joseph said to them, “Do not interpretations belong to God? Tell them to me, please.”
9 Then the chief butler told his dream to Joseph, and said to him, “Behold, in my dream a vine was before me, 10 and in the vine were three branches; it was as though it budded, its blossoms shot forth, and its clusters brought forth ripe grapes. 11 Then 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.”
12 And Joseph said to him, “This is the interpretation of it: The three branches are three days. 13 Now within three days Pharaoh will lift up your head and restore you to your [b]place, and you will put Pharaoh’s cup in his hand according to the former manner, when you were his butler. 14 But remember me when it is well with you, and please show kindness to me; make mention of me to Pharaoh, and get me out of this house. 15 For indeed I was stolen away from the land of the Hebrews; and also I have done nothing here that they should put me into the dungeon.”
16 When the chief baker saw that the interpretation was good, he said to Joseph, “I also was in my dream, and there were three [c]white baskets on my head. 17 In the uppermost basket were all kinds of baked goods for Pharaoh, and the birds ate them out of the basket on my head.”
18 So Joseph answered and said, “This is the interpretation of it: The three baskets are three days. 19 Within three days Pharaoh will lift [d]off your head from you and hang you on a tree; and the birds will eat your flesh from you.”
20 Now it came to pass on the third day, which was Pharaoh’s birthday, that he made a feast for all his servants; and he lifted up the head of the chief butler and of the chief baker among his servants. 21 Then he restored the chief butler to his butlership again, and he placed the cup in Pharaoh’s hand. 22 But he hanged the chief baker, as Joseph had interpreted to them. 23 Yet the chief butler did not remember Joseph, but forgot him.
Genesis 40 New International Version (NIV)
The Cupbearer and the Baker
40 Some time later, the cupbearer and the baker of the king of Egypt offended their master, the king of Egypt. 2 Pharaoh was angry with his two officials, the chief cupbearer and the chief baker, 3 and put them in custody in the house of the captain of the guard, in the same prison where Joseph was confined. 4 The captain of the guard assigned them to Joseph, and he attended them.
After they had been in custody for some time, 5 each of the two men—the cupbearer and the baker of the king of Egypt, who were being held in prison—had a dream the same night, and each dream had a meaning of its own.
6 When Joseph came to them the next morning, he saw that they were dejected. 7 So he asked Pharaoh’s officials who were in custody with him in his master’s house, “Why do you look so sad today?”
8 “We both had dreams,” they answered, “but there is no one to interpret them.”
Then Joseph said to them, “Do not interpretations belong to God? Tell me your dreams.”
9 So the chief cupbearer told Joseph his dream. He said to him, “In my dream I saw a vine in front of me, 10 and on the vine were three branches. As soon as it budded, it blossomed, and its clusters ripened into grapes. 11 Pharaoh’s cup was in my hand, and I took the grapes, squeezed them into Pharaoh’s cup and put the cup in his hand.”
12 “This is what it means,” Joseph said to him. “The three branches are three days. 13 Within three days Pharaoh will lift up your head and restore you to your position, and you will put Pharaoh’s cup in his hand, just as you used to do when you were his cupbearer. 14 But when all goes well with you, remember me and show me kindness; mention me to Pharaoh and get me out of this prison. 15 I was forcibly carried off from the land of the Hebrews, and even here I have done nothing to deserve being put in a dungeon.”
16 When the chief baker saw that Joseph had given a favorable interpretation, he said to Joseph, “I too had a dream: On my head were three baskets of bread.[a] 17 In the top basket were all kinds of baked goods for Pharaoh, but the birds were eating them out of the basket on my head.”
18 “This is what it means,” Joseph said. “The three baskets are three days. 19 Within three days Pharaoh will lift off your head and impale your body on a pole. And the birds will eat away your flesh.”
20 Now the third day was Pharaoh’s birthday, and he gave a feast for all his officials. He lifted up the heads of the chief cupbearer and the chief baker in the presence of his officials: 21 He restored the chief cupbearer to his position, so that he once again put the cup into Pharaoh’s hand— 22 but he impaled the chief baker, just as Joseph had said to them in his interpretation.
23 The chief cupbearer, however, did not remember Joseph; he forgot him.