One day, Paraoh had become angry with his chief butler.
“What is this fly doing in my wine?!” yelled Paraoh. “Guards, throw the Chief Butler in the royal prison!”
Soon after, Paraoh was furious with his chief baker.
“What is this pebble doing in my bread?!” yelled Paraoh once again. “Guards, throw the Chief Baker in the royal prison!”
Both the butler and the baker ended up in prison together with Yosef. Of course, this was all part of HaShem’s plan.