Genesis 40:12-19
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.”
40:16 When the chief baker saw that the interpretation of the first dream was favorable, he said to Joseph, “I also appeared in my dream and there were three baskets of white bread on my head.
40:17 In the top basket there were baked goods of every kind for Pharaoh, but the birds were eating them from the basket that was on my head.”
40:18 Joseph replied, “This is its meaning: The three baskets represent three days.
40:19 In three more days Pharaoh will decapitate you and impale you on a pole. Then the birds will eat your flesh from you.”