Genesis 39:20-22
Genesis 39:20-22 KJV
And Joseph's master took him, and put him into the prison, a place where the king's prisoners were bound: and he was there in the prison. But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison. 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.