Genesis 40:1-6

1 And it came to pass after these things, [that] the cup-bearer of the king of Egypt and the baker offended their lord the king of Egypt.
2 And Pharaoh was wroth with his two chamberlains -- with the chief of the cup-bearers and with the chief of the bakers;
3 and he put them in custody into the house of the captain of the life-guard, into the tower-house, into the place where Joseph was imprisoned.
4 And the captain of the life-guard appointed Joseph to them, that he should attend on them. And they were [several] days in custody.
5 And they dreamed a dream, both of them in one night, each his dream, each according to the interpretation of his dream, the cup-bearer and the baker of the king of Egypt, who were imprisoned in the tower-house.
6 And Joseph came in to them in the morning, and looked on them, and behold, they were sad.

Footnotes 1

The Darby Translation is in the public domain.