Genesis 39:21-23

Thomson(i) 21 But in the prison the Lord was with Joseph, and continued his kindness and gave him favour in the sight of the principal keeper of the prison. 22 And the principal keeper of the prison committed to Joseph's care the prison and all the prisoners who were in the prison. And whatever was done there, he was the person who caused it to be done. 23 The principal keeper took no cognizance of any thing himself; for all things were committed to Joseph's management, because the Lord was with him, and the Lord prospered in his hands whatever he did.