Genesis 40:1-9
The Cupbearer and the Baker
40:1 After these things happened, the cupbearer to the king of Egypt and the royal baker offended their master, the king of Egypt.
40:2 Pharaoh was enraged with his two officials, the cupbearer and the baker,
40:3 so he imprisoned them in the house of the captain of the guard in the same facility where Joseph was confined.
40:4 The captain of the guard appointed Joseph to be their attendant, and he served them.
They spent some time in custody.
40:5 Both of them, the cupbearer and the baker of the king of Egypt, who were confined in the prison, had a dream the same night. Each man’s dream had its own meaning.
40:6 When Joseph came to them in the morning, he saw that they were looking depressed.
40:7 So he asked Pharaoh’s officials, who were with him in custody in his master’s house, “Why do you look so sad today?”
40:8 They told him, “We both had dreams, but there is no one to interpret them.” Joseph responded, “Don’t interpretations belong to God? Tell them to me.”
40:9 So the chief cupbearer told his dream to Joseph: “In my dream, there was a vine in front of me.