Genesis 39:22 in the King James Version
And the keeper of the prison committed to Joseph’s hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it.
Context
21 But the LORD was with Joseph, and showed kindness to him, and gave him favor in the sight of the keeper of the prison.
22 The keeper of the prison committed to Joseph’s hand all the prisoners who were in the prison. Whatever they did there, he was responsible for it.
23 The keeper of the prison didn’t look after anything that was under his hand, because the LORD was with him; and that which he did, the LORD made it prosper.