Now in the morning his spirit was troubled, so he sent and called for all the magicians of Egypt, and all its wise men. And Pharaoh told them his dreams, but there was no one who could interpret them to Pharaoh.
Then the chief cupbearer spoke to Pharaoh, saying, "I would make mention today of my [own] offenses.
"Pharaoh was furious with his servants, and he put me in confinement in the house of the captain of the bodyguard, [both] me and the chief baker.
"We had a dream on the same night, he and I; each of us dreamed according to the interpretation of his [own] dream.
"Now a Hebrew youth [was] with us there, a servant of the captain of the bodyguard, and we related [them] to him, and he interpreted our dreams for us. To each one he interpreted according to his [own] dream.
"And just as he interpreted for us, so it happened; he restored me in my office, but he hanged him."
Then Pharaoh sent and called for Joseph, and they hurriedly brought him out of the dungeon; and when he had shaved himself and changed his clothes, he came to Pharaoh.
Pharaoh said to Joseph, "I have had a dream, but no one can interpret it; and I have heard it said about you, that when you hear a dream you can interpret it."