Genesis 39:19 And it came to pass, when his master heard the words of his wife, which she spoke unto him, saying, After this manner did thy servant to me; that his wrath was kindled. 20 And Joseph's master took him, and put him into the prison, a place where the king's prisoners were bound: and he was there in the prison.
[Patriarchs & Prophets pp 218] He did not brood upon 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 needful discipline. In the prison, witnessing the results of oppression and tyranny and the effects of crime, he learned lessons of justice, sympathy, and mercy, that prepared him to exercise power with wisdom and compassion.
Joseph gradually gained the confidence of the keeper of the prison, and was finally entrusted with the charge of all the prisoners. It was the part he acted in the prison—the integrity of his daily life and his sympathy for those who were in trouble and distress—that opened the way for his future prosperity and honor. Every ray of light that we shed upon others is reflected upon ourselves.
Every kind and sympathizing word spoken to the sorrowful, every act to relieve the oppressed, and every gift to the needy, if prompted by a right motive, will result in blessings to the giver. The chief baker and chief butler of the king had been cast into prison for some offense, and they came under Joseph's charge.
Genesis 39:21 But the Lord was with Joseph, and shewed him mercy, and gave him favor in the sight of the keeper of the prison. 22 And the keeper of the prison committed to Joseph's hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it.
May God add His blessing to the study of His word. “Good night” and God bless!