Genesis 40 - 41:36

1 It came to pass after these things that the butler and the baker of the king of Egypt offended their lord, the king of Egypt. 2 And Pharaoh was angry with his two officers, the chief butler and the chief baker. 3 So he put them in custody in the house of the captain of the guard, in the prison, the place where Joseph was confined. 4 And the captain of the guard charged Joseph with them, and he served them; so they were in custody for a while . . .
— GENESIS 40-41:36