But the Lord was with Joseph, and shewed him mercyᵃ, and gave him favour in the sight of the keeper of the prison.