And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's, and captain of the guard.
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.
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.