Scripture: "And Joseph's master took him, and put him into a prison . . . But Jehovah was with Joseph . . . and that which he did, Jehovah made it to prosper" (Gen. 39:20-23).
When God lets us go to prison because we have been serving Him, and goes there with us, prison is about the most blessed place in the world that we could be in. Joseph seems to have known that. He did not sulk and grow discouraged and rebellious because "everything was against him." If he had, the prison-keeper would never have trusted him so. Joseph does not even seem to have pitied himself.
Let us remember that if self-pity is allowed to set in, that is the end of us--until it is cast utterly from us. Joseph just turned over everything in joyous trust to God, and so the keeper of the prison turned over everything to Joseph. Lord Jesus, when the prison doors close in on me, keep me trusting, and keep my joy full and abounding. Prosper Thy work through me in prison: even there, make me free indeed.--Selected
I have learnt to love the darkness of sorrow; there you see the brightness of His face.--Madame Guyon