The story of Joseph in the Bible, where he was sold as a slave by his brothers who were jealous of his ability to analyze dreams and prophesy that he was their father's favorite.