Genesis 39:21-23

BBE(i) 21 But the Lord was with Joseph, and was good to him, and made the keeper of the prison his friend. 22 And the keeper of the prison put all the prisoners under Joseph's control, and he was responsible for whatever was done there. 23 And the keeper of the prison gave no attention to anything which was under his care, because the Lord was with him; and the Lord made everything he did go well.