Genesis 40:1-3
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.
Genesis 40:15
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.”
Genesis 41:9-14
41:9 Then the chief cupbearer said to Pharaoh, “Today I recall my failures.
41:10 Pharaoh was enraged with his servants, and he put me in prison in the house of the captain of the guards – me and the chief baker.
41:11 We each had a dream one night; each of us had a dream with its own meaning.
41:12 Now a young man, a Hebrew, a servant
of the captain of the guards,
was with us there. We told him our dreams,
and he interpreted the meaning of each of our respective dreams for us.
41:13 It happened just as he had said
to us – Pharaoh
restored me to my office, but he impaled the baker.”
41:14 Then Pharaoh summoned Joseph. So they brought him quickly out of the dungeon; he shaved himself, changed his clothes, and came before Pharaoh.
Psalms 76:10
76:10 Certainly your angry judgment upon men will bring you praise;
you reveal your anger in full measure.