Genesis 39:20-23
Genesis 39:20-23 NLT
So he took Joseph and threw him into the prison where the king’s prisoners were held, and there he remained. But the LORD was with Joseph in the prison and showed him his faithful love. And the LORD made Joseph a favorite with the prison warden. Before long, the warden put Joseph in charge of all the other prisoners and over everything that happened in the prison. The warden had no more worries, because Joseph took care of everything. The LORD was with him and caused everything he did to succeed.