← Genesis: All Chapters

Verse-by-Verse Commentary

The Book of Genesis

Chapter 40: Dreams in the Prison

Still in prison for a crime he did not commit, Joseph is put in charge of two new prisoners, Pharaoh's chief butler and chief baker, who have fallen from favor. One night each of them dreams a troubling dream, and in the morning Joseph notices their sadness and asks what is wrong. When they say there is no one to interpret their dreams, Joseph points them past himself to God: "Do not interpretations belong to God?" He tells the butler he will be restored in three days, and the baker that he will be executed in three days, and both come true exactly. Joseph asks the butler to remember him to Pharaoh, but "the chief butler did not remember Joseph, but forgat him." Genesis 40 is a chapter about God-given wisdom, ministering to others in the middle of our own pain, and the hard grace of waiting on God when people forget us.

About This Commentary

This is a verse-by-verse study of Genesis chapter 40. For each section you will find the KJV text, plain explanation, and a Gospel Focus where the text touches wisdom that comes from God, serving others in our own affliction, and trusting God's timing when we are forgotten. Chapter 40 keeps Joseph in prison but shows God preparing his rise. Every Scripture quotation is from the King James Version.

Setting the Stage

The Prisoners

Interpretations Belong to God

Two of Pharaoh's officers are jailed and troubled by dreams, and Joseph offers help, pointing them to God as the giver of all interpretation.

The Butler

Restored in Three Days

Joseph reads the butler's dream of the vine as restoration, and asks only that the man remember him to Pharaoh when he is freed.

The Baker

A Word of Judgment

The baker's dream of baskets and birds carries a grim meaning, and Joseph faithfully speaks the hard truth as well as the glad one.

The Waiting

Yet He Forgat Him

Both dreams come true exactly, but the restored butler forgets Joseph, leaving him to wait longer on the God who never forgets.

The Prisoners

Do Not Interpretations Belong to God? (Genesis 40:1-8)

Two of Pharaoh's officers land in Joseph's prison, troubled by dreams they cannot understand, and Joseph offers help while giving all the glory to God.

Genesis 40:1-11

Wherefore Look Ye So Sadly?

"And it came to pass after these things, that the butler of the king of Egypt and his baker had offended their lord the king of Egypt. And Pharaoh was wroth against two of his officers, against the chief of the butlers, and against the chief of the bakers. And he put them in ward in the house of the captain of the guard, into the prison, the place where Joseph was bound. And the captain of the guard charged Joseph with them, and he served them: and they continued a season in ward. And they dreamed a dream both of them, each man his dream in one night, each man according to the interpretation of his dream, the butler and the baker of the king of Egypt, which were bound in the prison. And Joseph came in unto them in the morning, and looked upon them, and, behold, they were sad. And he asked Pharaoh's officers that were with him in the ward of his lord's house, saying, Wherefore look ye so sadly to day? And they said unto him, We have dreamed a dream, and there is no interpreter of it. And Joseph said unto them, Do not interpretations belong to God? tell me them, I pray you. And the chief butler told his dream to Joseph, and said to him, In my dream, behold, a vine was before me; And in the vine were three branches: and it was as though it budded, and her blossoms shot forth; and the clusters thereof brought forth ripe grapes: And 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."

Hebrew Study

When the two prisoners are downcast — sad, zo'aphim, troubled of face — Joseph asks why, then plants the chapter's key confession: "Do not interpretations belong to God?" (ha-lo le-Elohim pitronim). In a land of professional dream-diviners, the Hebrew slave refuses the diviner's mystique and points past himself to God, the only true interpreter of what is to come.

Explanation

Pharaoh's chief butler and chief baker offend the king and are cast into the same prison where Joseph is held. The captain of the guard puts Joseph in charge of them, and one night both men dream troubling dreams. In the morning Joseph comes in and, though he is a wronged prisoner himself, he notices that they are sad and asks, "Wherefore look ye so sadly to day?" They explain that they have dreamed dreams but there is no one to interpret them. Joseph's reply is the key to his whole life: "Do not interpretations belong to God?" He does not boast of his own gift or claim any special cleverness. He points these Egyptians away from himself and straight to the God of heaven, and then he offers to hear their dreams. Even in prison, Joseph is a man who sees others' pain and gives God the glory.

Gospel Focus

Two things shine here. First, notice Joseph's compassion. He is in prison for a crime he did not commit, with every reason to be absorbed in his own troubles, yet he looks up and sees that others are downcast and asks about their sorrow. Real godliness does not curl inward under suffering; it keeps a heart open to the needs of others. Some of the most Christlike people are those who minister to others out of the middle of their own pain. Second, notice where Joseph sends the credit: "Do not interpretations belong to God?" Wisdom and revelation are gifts from God, not achievements of man. Daniel, another faithful captive, said the same before a pagan king: "there is a God in heaven that revealeth secrets" (Daniel 2:28). And the New Testament invites us to that same source: "If any of you lack wisdom, let him ask of God, that giveth to all men liberally" (James 1:5). Whatever gift or insight we have is on loan from heaven, and the humble heart, like Joseph's, always points people past itself to the God who gives.

The Butler

Think On Me When It Is Well With Thee (Genesis 40:9-15)

Joseph interprets the butler's dream of the vine as coming restoration, and asks only to be remembered when the man is freed.

Genesis 40:12-17

Restore Thee Unto Thy Place

"And Joseph said unto him, This is the interpretation of it: The three branches are three days: Yet within three days shall Pharaoh lift up thine head, and restore thee unto thy place: and thou shalt deliver Pharaoh's cup into his hand, after the former manner when thou wast his butler. But think on me when it shall be well with thee, and shew kindness, I pray thee, unto me, and make mention of me unto Pharaoh, and bring me out of this house: For indeed I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon. When the chief baker saw that the interpretation was good, he said unto Joseph, I also was in my dream, and, behold, I had three white baskets on my head: And in the uppermost basket there was of all manner of bakemeats for Pharaoh; and the birds did eat them out of the basket upon my head."

Hebrew Study

Joseph tells the butler that Pharaoh will "lift up thine head" — nasa rosh, an idiom for restoring a man to office and favor. Then he asks only to be remembered: "think on me... make mention of me" — zakar, remember. The one who interprets deliverance for another asks merely not to be forgotten.

Explanation

The chief butler tells his dream first: a vine with three branches that bud, blossom, and bring forth ripe grapes, which he presses into Pharaoh's cup and hands to the king. Joseph gives the interpretation plainly: the three branches are three days, and within three days Pharaoh will "lift up thine head, and restore thee unto thy place" as royal cupbearer. It is good news, and it is exact. Then Joseph adds a humble, human request: "think on me when it shall be well with thee ... make mention of me unto Pharaoh, and bring me out of this house." He briefly explains his own case, that he was "stolen away out of the land of the Hebrews" and had done nothing to deserve the dungeon. Joseph, who trusted God fully, still used the ordinary means before him, asking a soon-to-be freed man to speak for him. Faith and sensible action are not enemies.

Gospel Focus

Joseph's request to the butler shows us a healthy balance. On one hand, Joseph trusted God completely; on the other, he did not sit passively but used the door in front of him, asking for help. Trusting God does not mean refusing every ordinary means He provides. We pray and we also act, we rest in God and we also knock on doors, and we leave the results to Him. Notice too Joseph's gentle insistence on his innocence: "here also have I done nothing that they should put me into the dungeon." He was honest about the injustice done to him without bitterness or revenge, simply stating the truth and asking for kindness. There is dignity in that. A believer can name a wrong plainly and still leave the outcome to God. Joseph asked to be remembered, and there was nothing wrong in the asking. As the next verses will show, his hope in man would be disappointed, but that disappointment would only teach him, and us, to lean more fully on the God who never forgets.

The Baker

A Harder Word (Genesis 40:16-19)

Encouraged by the butler's good news, the baker tells his dream too, but its meaning is grim, and Joseph speaks the hard truth faithfully.

Genesis 40:18-20

The Three Baskets Are Three Days

"And Joseph answered and said, This is the interpretation thereof: The three baskets are three days: Yet within three days shall Pharaoh lift up thy head from off thee, and shall hang thee on a tree; and the birds shall eat thy flesh from off thee. And it came to pass the third day, which was Pharaoh's birthday, that he made a feast unto all his servants: and he lifted up the head of the chief butler and of the chief baker among his servants."

Hebrew Study

The same idiom turns lethal. To the baker Joseph must say Pharaoh will "lift up thy head from off thee" — the identical phrase nasa rosh, but now it means the gallows, not restoration. One wording, two destinies: the very same words that raise the butler to honor hang the baker. Life and death alike are in God's reading of the dream, not the dreamer's.

Explanation

Seeing that the butler received a good interpretation, the chief baker hopefully tells his own dream: three white baskets on his head, the top one full of baked goods for Pharaoh, but the birds are eating them out of the basket. This time the meaning is dark. Joseph does not soften it or refuse to speak; he tells the truth: the three baskets are three days, and within three days Pharaoh will "lift up thy head from off thee, and shall hang thee on a tree." There is a grim echo in the wording. To the butler, Pharaoh would "lift up thine head" in restoration; to the baker, Pharaoh would "lift up thy head from off thee" in execution. The same phrase, two opposite ends. Joseph faithfully delivers both the good news and the bad, because a true messenger of God speaks what God gives, whether it is welcome or not.

Gospel Focus

Joseph's faithfulness in speaking the hard word is a mark of true integrity. It would have been easy to flatter the baker with a false comfort, but Joseph told him the truth, gently but plainly. Those who speak for God must be willing to declare the whole counsel of God, including its warnings, not only the parts people want to hear. There is a striking picture in these two prisoners as well. Here are two condemned men in the same place at the same hour, and their destinies split completely: one is lifted up to life and restored to the king's side, the other lifted up to death. It calls to mind another scene, two condemned men crucified on either side of the Lord Jesus, where one turned to Him and heard, "To day shalt thou be with me in paradise" (Luke 23:43), while the other perished in his sin. The same nearness to salvation, two opposite ends, decided by the response of the heart. It is a solemn reminder that we may sit side by side with others under the same circumstances and yet face very different eternities.

The Waiting

Yet Did Not the Butler Remember Joseph (Genesis 40:20-23)

Both dreams come true exactly on the third day, but the restored butler forgets Joseph, leaving him to wait longer on God.

Genesis 40:21-23

But Forgat Him

"And he restored the chief butler unto his butlership again; and he gave the cup into Pharaoh's hand: But he hanged the chief baker: as Joseph had interpreted to them. Yet did not the chief butler remember Joseph, but forgat him."

Hebrew Study

The chapter ends on a wound: "Yet did not the chief butler remember Joseph, but forgat him" — lo zakar... vayyishkachehu. The very man Joseph begged to "remember" forgets him, and two full years pass (41:1) before the door opens. Deliverance waits not on human gratitude but on God's appointed hour.

Explanation

On the third day, which happened to be Pharaoh's birthday, the king held a feast and dealt with his two officers exactly as Joseph had said. He "restored the chief butler unto his butlership again," and the cup was once more in his hand, "but he hanged the chief baker." Joseph's God-given interpretations were proved true to the letter. Everything hung now on one small thing: would the restored butler remember the young Hebrew who had helped him and speak for him to Pharaoh? The chapter ends with a quiet, painful sentence: "Yet did not the chief butler remember Joseph, but forgat him." The man walked out into freedom and comfort and simply forgot the one who had given him hope in prison. Joseph, innocent and faithful, is left behind in the dungeon, and, as the next chapter reveals, he will wait there two more full years.

Gospel Focus

"Yet did not the chief butler remember Joseph, but forgat him." How that must have stung. Joseph had done a kindness and asked one small thing in return, and he was forgotten. People will disappoint us. Those we help do not always help us back, and the hope we place in man often comes up empty. But here is the deep comfort of Scripture: though man forgets, God does not. The Lord says, "Can a woman forget her sucking child ... yea, they may forget, yet will I not forget thee" (Isaiah 49:15). The butler forgot Joseph, but God had not forgotten him for a single day. In fact, God was using even this delay, for had the butler spoken up at once, Joseph might have been quietly released and returned home, and never risen to save the world from famine. God's timing is not our timing, and His delays are not His denials. "They that wait upon the LORD shall renew their strength" (Isaiah 40:31). When people forget us and doors seem to close, we can rest in the God who remembers, whose clock is never late, and who is working through the very waiting we cannot understand.

Chapter 40 in Review

Genesis 40 keeps Joseph in prison but moves God's plan forward. Pharaoh's chief butler and chief baker are jailed and troubled by dreams, and Joseph, though a wronged prisoner himself, notices their sadness and offers help, saying, "Do not interpretations belong to God?" He tells the butler his dream of the vine means restoration in three days, asking only to be remembered, and tells the baker his dream of the baskets means execution in three days. Both come true exactly on Pharaoh's birthday. But the restored butler "did not remember Joseph, but forgat him," and Joseph is left waiting in the dungeon.

For the Apostolic reader, this chapter is rich with quiet lessons. It shows a man of God ministering to others out of his own affliction, keeping a heart open to their pain even in his prison. It teaches that wisdom and revelation belong to God, and that the humble always point people past themselves to Him. It models faithful honesty, speaking the hard word as well as the glad one, and it soberly reminds us, in the two prisoners' opposite ends, that people near the same salvation can face very different destinies. And above all it comforts the forgotten. The butler forgot Joseph, but God never did, and the very delay was part of a saving plan. When people fail us and the wait grows long, we lean on the God who does not forget and whose timing is always right.

Key Takeaways
  • Godliness keeps a heart open to others even in our own suffering; Joseph noticed the prisoners' sadness (40:6-7).
  • Wisdom and revelation belong to God, and the humble point people to Him: "Do not interpretations belong to God?" (40:8; James 1:5).
  • Trust God and still use the means before you; faith and sensible action work together (40:14).
  • A faithful messenger speaks the hard word as well as the glad one (40:18-19).
  • People forget, but God never does; His delays are not denials (40:23; Isaiah 49:15; Isaiah 40:31).

Questions for Reflection

  • Joseph ministered to others from within his own trouble. Whose pain might God want you to notice even while you are hurting?
  • Joseph gave God the glory for his gift. Do you point people to God, or take the credit yourself?
  • The butler forgot Joseph, but God did not. Where do you need to stop leaning on people to come through and rest in the God who remembers?

References & Sources

Scripture is quoted from the King James Version (KJV). A "butler" is the royal cupbearer who served the king's wine, as can be checked in any Bible reference. Supporting passages are listed so every claim can be verified in its own setting. If anything here does not look right, a verse, a reference, or a wording, please tell us at info@FruitBearers.net. Thank you for helping us keep Bible Learning error free.

  1. Interpretations belong to God: Genesis 40:1-8; Daniel 2:28; James 1:5.
  2. The butler's dream and Joseph's request: Genesis 40:9-15.
  3. The baker's dream and the hard word: Genesis 40:16-19; Luke 23:43.
  4. Forgotten by man, remembered by God: Genesis 40:20-23; Isaiah 49:15; Isaiah 40:31.
How Can I Be Saved?