Genesis 39:21

21 But Yahweh was with Joseph, and showed kindness to him, and gave him favor in the sight of the keeper of the prison.