Genesis 39:22-23
22 So the warden put Joseph in charge of all those held in the prison, and he was made responsible for all that was done there.
23 The warden paid no attention to anything under Joseph’s care, because the Lord was with Joseph and gave him success in whatever he did.