Genesis 40:7

7 And he asked Pharaoh's officers that were with him in ward in his master's house, saying, Wherefore look ye so sad to-day?

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 And they dreamed a dream both of them, each man his dream, in one night, each man according to the interpretation of his dream, the butler and the baker of the king of Egypt, who were bound in the prison.
6 And Joseph came in unto them in the morning, and saw them, and, behold, they were sad.
7 And he asked Pharaoh's officers that were with him in ward in his master's house, saying, Wherefore look ye so sad to-day?
8 And they said unto him, We have dreamed a dream, and there is none that can interpret it. And Joseph said unto them, Do not interpretations belong to God? tell it me, I pray you.
9 And the chief butler told his dream to Joseph, and said to him, In my dream, behold, a vine was before me;
The American Standard Version is in the public domain.