Genesis 39:21

NIV
New International Version

21the Lord was with him; he showed him kindness and granted him favor in the eyes of the prison warden.