Genesis 41:9-14

41:9 Then the chief cupbearer said to Pharaoh, “Today I recall my failures. 41:10 Pharaoh was enraged with his servants, and he put me in prison in the house of the captain of the guards – me and the chief baker. 41:11 We each had a dream one night; each of us had a dream with its own meaning. 41:12 Now a young man, a Hebrew, a servant of the captain of the guards, was with us there. We told him our dreams, and he interpreted the meaning of each of our respective dreams for us. 41:13 It happened just as he had said to us – Pharaoh restored me to my office, but he impaled the baker.”

41:14 Then Pharaoh summoned Joseph. So they brought him quickly out of the dungeon; he shaved himself, changed his clothes, and came before Pharaoh.