Genesis:39:21-22
kjv@Genesis:39:21 @ But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.
kjv@Genesis:39:22 @ 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.