Genesis 39:19-21
Genesis 39:19-21 AMP
And when Joseph’s master heard the words of his wife, saying, “This is the way your servant treated me,” his anger burned. 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.