Read Genesis 39:23 Using Other Translations
The keeper of the prison looked not to any thing that was under his hand; because the LORD was with him, and that which he did, the LORD made it to prosper.
The keeper of the prison paid no attention to anything that was in Joseph's charge, because the LORD was with him. And whatever he did, the LORD made it succeed.
The warden had no more worries, because Joseph took care of everything. The LORD was with him and caused everything he did to succeed.