7He asked Pharaoh's officials who were with him in confinement in his master's house, "Why are your faces so sad today?"
8Then they said to him, "We have had a dream and there is no one to interpret it " Then Joseph said to them, "Do not interpretations belong to God? Tell it to me, please."
In Genesis 40 Joseph showed compassion to the two official who were confined the jail with him. And then, he pointed to God as the source of understanding and wisdom. God gave Joseph the correct interpretations of the dreams and they came true. It was second nature to Joseph to look to God for what he needed and not to his own understanding. He believed that God was the source of all and lived a compassionate life that was dependent upon God.