Genesis 39:21 - 39:23
21 But Yahweh was with Joseph and extended lovingkindness to him and gave him favor in the sight of the chief jailer. 22 So the chief jailer gave into the hand of Joseph all the prisoners who were in the jail; so that whatever was done there, he was the one who did it. 23 The chief jailer did not supervise anything under Joseph’s hand because Yahweh was with him; and whatever he did, Yahweh made to succeed.