But the LORD was with Joseph, and showed him mercy, and gave him favor in the sight of the keeper of the prison.
All Commentaries on Genesis 39:21 Go To Genesis 39
You notice how even when Joseph encountered troubles he had no sense of distress; instead, the creative wisdom of God transformed all his distress. Just as a pearl reveals its peculiar beauty even if someone buries it in the mire, so too virtue, wherever you cast it, reveals its characteristic power, be it in servitude, in prison, in distress or in prosperity. So since, even when cast into prison, he won over the chief jailer and received from him control of everything there, let us see in this case as well how Joseph reveals the force of grace coming his way.