But the Lord was with Joseph and showed him mercy and gave him grace in the sight of the prince of the house of the prison.