Genesis 40:7

7 So he asked them, the two officials of Pharaoh who had been thrown into jail with him, "What's wrong? Why the long faces?"

Genesis 40:7 Meaning and Commentary

Genesis 40:7

And he asked Pharaoh's officers that [were] with him
The chief butler and baker that were committed to his care, and with whom he now was, in the ward of the lord's house;
this seems to confirm what is before observed, that the captain of the guard that charged Joseph with them was Potiphar his master; though indeed the keeper of the prison that was under Potiphar, the captain of the guard, might be called Joseph's lord or master, but the house could not with so much propriety be called his: saying, wherefore look ye [so] sadly today?
as they were officers, who had been in lucrative places, they lived well and merrily, and expected very probably they should be released in a short time, nothing appearing against them; but now there was a strange alteration in them, which was very visible to Joseph, and for which he expresses a concern, being of a kind, tender, and benevolent disposition, as the question he puts to them shows.

Genesis 40:7 In-Context

5 the king's cupbearer and baker, while being held in the jail, both had a dream on the same night, each dream having its own meaning.
6 When Joseph arrived in the morning, he noticed that they were feeling low.
7 So he asked them, the two officials of Pharaoh who had been thrown into jail with him, "What's wrong? Why the long faces?"
8 They said, "We dreamed dreams and there's no one to interpret them." Joseph said, "Don't interpretations come from God? Tell me the dreams."
9 First the head cupbearer told his dream to Joseph: "In my dream there was a vine in front of me
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.