Genesis 39:20-21
Genesis 39:20-21 AMP
So Joseph’s master took him and put him in the prison, a place where the king’s prisoners were confined; so he was there in the prison. But the LORD was with Joseph and extended lovingkindness to him, and gave him favor in the sight of the warden.