Genesis 40:9-15
40:9 So the chief cupbearer told his dream to Joseph: “In my dream, there was a vine in front of me.
40:10 On the vine there were three branches. As it budded, its blossoms opened and its clusters ripened into grapes.
40:11 Now Pharaoh’s cup was in my hand, so I took the grapes, squeezed them into his cup, and put the cup in Pharaoh’s hand.”
40:12 “This is its meaning,” Joseph said to him. “The three branches represent three days.
40:13 In three more days Pharaoh will reinstate you and restore you to your office. You will put Pharaoh’s cup in his hand, just as you did before when you were cupbearer.
40:14 But remember me when it goes well for you, and show me kindness. Make mention of me to Pharaoh and bring me out of this prison,
40:15 for I really was kidnapped from the land of the Hebrews and I have done nothing wrong here for which they should put me in a dungeon.”