Genesis 39:21-23
Genesis 39:21-23 NIV
the LORD was with him; he showed him kindness and granted him favor in the eyes of the prison warden. 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. 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.