Genesis 39:20-23
Genesis 39:20-23 NIV
Joseph’s master took him and put him in prison, the place where the king’s prisoners were confined. But while Joseph was there in the prison, the LORD was with him; he showed him kindness and granted him favor in the eyes of the prison warden. So the warden put Joseph in charge of all those held in the prison, and he was made responsible for all that was done there. The warden paid no attention to anything under Joseph’s care, because the LORD was with Joseph and gave him success in whatever he did.