Genesis 40:9-19

ISV(i) 9 The Security Advisor’s DreamSo the senior security advisor related his dream to Joseph. “In my dream,” he said, “all of a sudden there was a vine in front of me! 10 On the vine were three branches that budded. Blossoms shot out, and clusters grew up that produced ripe grapes. 11 Then, with Pharaoh’s cup in my hand, I took the grapes, squeezed them into Pharaoh’s cup, then handed the cup directly to Pharaoh.”
12 Then Joseph told him, “This is what your dream means: The three branches are three days. 13 Within three days, Pharaoh will encourage you and return you to your responsibilities. You’ll attend to Pharaoh’s personal wine cup, just as you did when you were his senior security advisor. 14 But keep me in mind when things go well for you. Be sure to extend kindness to me by remembering me to Pharaoh. Bring me out of this prison, 15 because I was kidnapped from the land of the Hebrews. Not only that, I haven’t done anything that deserves me being confined to this pit.”
16 The Head Chef’s DreamWhen the head chef heard that the interpretation was good, he told Joseph, “I was also in my dream. All of a sudden, there were three baskets with white bread stacked on top of my head. 17 There was all kinds of food in the basket that was on top, including baked food for Pharaoh. The birds were eating them from the basket on my head.”
18 Joseph replied, “This is what your dream means: The three baskets are also three days. 19 Within three more days, Pharaoh will behead you and hang you on gallows, where birds will eat your flesh from you.”