Genesis 39:21-23

AKJV(i) 21 But the LORD was with Joseph, and showed him mercy, and gave him favor in the sight of the keeper of the prison. 22 And the keeper of the prison committed to Joseph's hand all the prisoners that were in the prison; and whatever they did there, he was the doer of it. 23 The keeper of the prison looked not to any thing that was under his hand; because the LORD was with him, and that which he did, the LORD made it to prosper.