If we spiritualize this question and apply it to soul-distresses, that verse of David will be the enquiry, Psalms 42:11.
Related Commentaries of Genesis 40:6
Genesis 40:6-7
6 And Joseph came in unto them in the morning, and looked upon them, and, behold, they were sad.
7 And he asked Pharaoh's officers that were with him in the ward of his lord's house, saying, Wherefore looka ye so sadly to day?