Genesis 39:21 But the Lord was with Joseph, and was good to him, and made the keeper of the prison his friend. (Bible in Basic English)