Some time later, Pharaoh’s chief cup-bearer and chief baker offended their royal master.
Pharaoh became angry with these two officials,
and he put them in the prison where Joseph was, in the palace of the captain of the guard.
They remained in prison for quite some time, and the captain of the guard assigned them to Joseph, who looked after them.
While they were in prison, Pharaoh’s cup-bearer and baker each had a dream one night, and each dream had its own meaning.
When Joseph saw them the next morning, he noticed that they both looked upset.