And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh's, the captain of the guard, an Egyptian, bought him of the hand of the Ishmaelites, which had brought him down thither.
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.
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.