Genesis 40

1 After these things, the butler of the king of Egypt and his baker offended their lord, the king of Egypt.

2 Pharaoh was angry with his two officers, the chief cup bearer and the chief baker.

3 He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound.

4 The captain of the guard assigned them to Joseph, and he took care of them. They stayed in prison many days.

5 They both dreamed a dream, each man his dream, in one night, each man according to the interpretation of his dream, the cup bearer and the baker of the king of Egypt, who were bound in the prison.

6 Joseph came in to them in the morning, and saw them, and saw that they were sad.

7 He asked Pharaoh’s officers who were with him in custody in his master’s house, saying, “Why do you look so sad today?”

8 They said to him, “We have dreamed a dream, and there is no one who can interpret it.” Joseph said to them, “Don’t interpretations belong to God? Please tell it to me.”

9 The chief cup bearer told his dream to Joseph, and said to him, “In my dream, behold, a vine was in front of me,

10 and in the vine were three branches. It was as though it budded, it blossomed, and its clusters produced ripe grapes.

11 Pharaoh’s cup was in my hand; and I took the grapes, and pressed them into Pharaoh’s cup, and I gave the cup into Pharaoh’s hand.”

12 Joseph said to him, “This is its interpretation: the three branches are three days.

13 Within three more days, Pharaoh will lift up your head, and restore you to your office. You will give Pharaoh’s cup into his hand, the way you did when you were his cup bearer.

14 But remember me when it is well with you. Please show kindness to me, and make mention of me to Pharaoh, and bring me out of this house.

15 For indeed, I was stolen away out of the land of the Hebrews, and here also I have done nothing 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 behold, three baskets of white bread were on my head.

17 In the uppermost basket there were all kinds of baked food for Pharaoh, and the birds ate them out of the basket on my head.”

18 Joseph answered, “This is its interpretation. The three baskets are three days.

19 Within three more days, Pharaoh will lift up your head from off you, and will hang you on a tree; and the birds will eat your flesh from off you.”

20 On the third day, which was Pharaoh’s birthday, he made a feast for all his servants, and he lifted up the head of the chief cup bearer and the head of the chief baker among his servants.

21 He restored the chief cup bearer to his position again, and he gave the cup into Pharaoh’s hand;

22 but he hanged the chief baker, as Joseph had interpreted to them.

23 Yet the chief cup bearer didn’t remember Joseph, but forgot him.

Around Genesis 40

Context

Context for this book is being written. A note appears here only once it names its sources.

AI explanation

Genesis 40 · Written by an AI model · Not reviewed by a theological reader

This explanation was written by an AI model to help you get started. It names no sources and can contain mistakes. Scripture comes first, and context with sources is shown separately on this page.

What this chapter says

Pharaoh’s chief cup bearer and chief baker have offended the king, and they are sent to the prison where Joseph is. He is assigned to care for them. Joseph finds them sad one morning. Each has dreamed in the same night, and no one can interpret it. “Don’t interpretations belong to God?” Joseph says. “Please tell it to me.”

The cup bearer dreams of a vine with three branches and grapes pressed into Pharaoh’s cup. Joseph says that in three days Pharaoh will restore him. One plea: “remember me when it is well with you.” He was stolen away from the land of the Hebrews and has done nothing to deserve the dungeon. The baker dreams of three baskets on his head, with birds eating from the top one. Joseph must tell him that in three days Pharaoh will hang him on a tree. On Pharaoh’s birthday it happens. “Yet the chief cup bearer didn’t remember Joseph, but forgot him.”

Background

The chapter turns on two dreams and a forgotten request. Many scholars note that dream interpretation was a recognized skill across the ancient Near East, but Joseph gives the credit to God, as he will again before Pharaoh. The story also makes the reader wait, because Joseph stays in prison; the next chapter begins two years later.

About this explanation

Written by Claude Sonnet 5.5, an AI model, on 21 October 2026. It draws on the WEB text and general knowledge and was not checked against sources by a person. Every quotation from Scripture is checked automatically against the WEB text.

Report a mistake

CommunityVoices, not sources

Readers share what this chapter means to them in the app.

See what readers say about Genesis 40

World English Bible. Public-domain source and edition notes