Genesis 40:5-15

5 One night there in prison the wine steward and the chief baker each had a dream, and the dreams had different meanings.
6 When Joseph came to them in the morning, he saw that they were upset.
7 He asked them, "Why do you look so worried today?"
8 They answered, "Each of us had a dream, and there is no one here to explain what the dreams mean." "It is God who gives the ability to interpret dreams," Joseph said. "Tell me your dreams."
9 So the wine steward said, "In my dream there was a grapevine in front of me
10 with three branches on it. As soon as the leaves came out, the blossoms appeared, and the grapes ripened.
11 I was holding the king's cup; so I took the grapes and squeezed them into the cup and gave it to him."
12 Joseph said, "This is what it means: the three branches are three days.
13 In three days the king will release you, pardon you, and restore you to your position. You will give him his cup as you did before when you were his wine steward.
14 But please remember me when everything is going well for you, and please be kind enough to mention me to the king and help me get out of this prison.
15 After all, I was kidnapped from the land of the Hebrews, and even here in Egypt I didn't do anything to deserve being put in prison."
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.