But Joseph’s real character shone even in the dungeon. His years of faithful service had been most cruelly repaid, yet this did not turn him gloomy or make him distrustful. He had peace and trusted his case with God. He did not brood over his own wrongs but forgot his sorrow in trying to lighten the sorrows of others. He found a work to do, even in the prison. God was preparing him in the school of affliction for greater usefulness, and he did not refuse the needed discipline. He learned lessons of justice, sympathy, and mercy that prepared him to exercise power with wisdom and compassion. BOE 101.2
Joseph gradually gained the confidence of the keeper of the prison, who finally entrusted him with the charge of all the prisoners. His conduct in the prison—his integrity and his sympathy for those in trouble and distress—opened the way for his future prosperity and honor. If prompted by a right motive, every kind word spoken to the sorrowful, every act to relieve the oppressed, and every gift to the needy, will result in blessings to the giver. BOE 101.3
The king’s chief baker and chief butler had been imprisoned for some offense, and they came under Joseph’s responsibility. One morning, noting that they appeared very sad, he kindly inquired the cause and was told that each had had a remarkable dream, and they were anxious to learn the meaning. “Do not interpretations belong to God?” said Joseph. “Tell them to me, please.” BOE 101.4
As each related his dream, Joseph made known its meaning. In three days the butler was to be restored to his position and place the cup in Pharaoh’s hand as before, but the chief baker would be put to death by the king’s command. Both events happened as foretold. BOE 101.5
The king’s cupbearer had professed deep gratitude to Joseph for the cheering interpretation of his dream and for many acts of kind attention. In return Joseph, referring to his own unjust captivity, pleaded for his case to be brought before the king. “Remember me,” he said, “when it is well with you, and please show kindness to me; make mention of me to Pharaoh, and get me out of this house. For indeed I was stolen away from the land of the Hebrews; and also have I done nothing here that they should put me into the dungeon.” BOE 101.6
The chief butler saw the dream fulfilled in every particular; but when he was restored to royal favor, he forgot all about the one who had helped him. For two years longer, Joseph remained a prisoner. The hope that had been kindled in his heart gradually died out, and the bitter sting of ingratitude was added to all of his other trials. BOE 101.7
But a divine hand was about to open the prison gates. The king of Egypt had two dreams in one night, apparently pointing to the same event and seeming to foreshadow some great calamity. The magicians and wise men could not give an interpretation. The king’s perplexity increased, and terror spread throughout his palace. The general agitation reminded the chief butler of his own dream, and with it came the memory of Joseph and remorse for his forgetfulness and ingratitude. At once he informed the king how his own dream and that of the chief baker had been interpreted by a Hebrew captive and how the prediction had been fulfilled. BOE 102.1
It was humiliating to Pharaoh to consult a slave, but he was ready to do so if his troubled mind might find relief. Joseph was immediately sent for; he changed his prison clothes and was taken to the king. BOE 102.2
“And Pharaoh said to Joseph, ‘I have had a dream, and there is no one who can interpret it. But I have heard it said of you that you can understand a dream, to interpret it.’ So Joseph answered Pharaoh, saying, ‘It is not in me; God will give Pharaoh an answer of peace.’” Joseph modestly disclaimed the honor of possessing superior wisdom in himself. God alone can explain these mysteries. BOE 102.3
Pharaoh then proceeded to relate his dreams: “Suddenly seven cows came up out of the river, fine looking and fat; and they fed in the meadow. Then behold, seven other cows came up after them, poor and very ugly and gaunt, such ugliness as I have never seen in all the land of Egypt. And the gaunt and ugly cows ate up the first cows, the fat cows. When they had eaten them up, no one would have known that they had eaten them, for they were still just as ugly as at the beginning. So I awoke. Also I saw in my dream, and suddenly seven heads came up on one stalk, full and good. Then behold, seven heads, withered, thin, and blighted with the east wind, sprang up after them. And the thin heads devoured the seven good heads. So I told this to the magicians, but there was no one that could explain it to me.” BOE 102.4