But the Lord was with Joseph and extended kindness to him. He granted him favor in the eyes of the prison warden.