Genesis 39:22-23
Genesis 39:22-23 ESV
And the keeper of the prison put Joseph in charge of all the prisoners who were in the prison. Whatever was done there, he was the one who did it. The keeper of the prison paid no attention to anything that was in Joseph’s charge, because the LORD was with him. And whatever he did, the LORD made it succeed.