But the Lord was with Joseph and showed him steadfast love and gave him favor in the sight of the keeper of the prison.