But the Word of the Lord was the helper of Joseph, and showed him mercy, and gave him favour in the eyes of the captain of the prison.