20Joseph’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, 21the LORD was with him; he showed him kindness and granted him favor in the eyes of the prison warden. 22So the warden put Joseph in charge of all those held in the prison, and he was made responsible for all that was done there. 23The warden paid no attention to anything under Joseph’s care, because the LORD was with Joseph and gave him success in whatever he did.