Berean Study Bible (BSB) - Genesis 39:21 >

the LORD was with him and extended kindness to him, granting him favor in the eyes of the prison warden.

Jewish Publication Society of America Version (JPS1917) - Genesis 39:21 >

But the LORD was with Joseph, and showed kindness unto him, and gave him favour in the sight of the keeper of the prison.