So the chief cupbearer told Joseph his dream. He said "In my dream a grapevine with three branches appeared in front of me.
Soon after it sprouted it blossomed. Then its clusters ripened into grapes.
Pharaoh's cup was in my hand, so I took the grapes and squeezed them into it. I put the cup in Pharaoh's hand."
"This is what it means," Joseph said to him. "The three branches are three days.
In the next three days Pharaoh will release you and restore you to your position. You will put Pharaoh's cup in his hand as you used to do when you were his cupbearer.
Remember me when things go well for you, and please do me a favor. Mention me to Pharaoh, and get me out of this prison.
I was kidnapped from the land of the Hebrews, and even here I've done nothing to deserve being put in this prison."
The chief baker saw that the meaning Joseph had given to the cupbearer's dream was good. So he said to Joseph, "I had a dream too. In my dream three baskets of white baked goods were on my head.
The top basket contained all kinds of baked goods for Pharaoh, but the birds were eating them out of the basket on my head."
"This is what it means," Joseph replied. "The three baskets are three days.
In the next three days Pharaoh will cut off your head and hang your dead body on a pole. The birds will eat the flesh from your bones."