Joseph the dreamer
Joseph, Jacob's favorite son, is hated by his brothers on account of his dreams prognosticating his future dominion, and on the advice of Judah is secretly sold to a caravan of Ishmaelitic merchants going to Egypt. His brothers tell their father that a wild animal has devoured Joseph. Joseph, carried to Egypt, is there sold as a slave to Potiphar, one of Pharaoh's officials. He gains his master's confidence; but when the latter's wife, unable to seduce him, accuses him falsely, he is cast into prison (xxxix.). Here he correctly interprets the dreams of two of his fellow prisoners, the king's butler and baker. When Pharaoh is troubled by dreams that no one is able to interpret, the butler draws attention to Joseph. The latter is thereupon brought before Pharaoh, whose dreams he interprets to mean that seven years of abundance will be followed by seven years of famine. He advises the king to make provision accordingly, and is empowered to take the necessary steps, being appointed second in the kingdom. Joseph marries Asenath, the daughter of the priest Poti-pherah, by whom he has two sons, Manasseh and Ephraim (xli.).
When the famine comes it is felt even in Canaan; and Jacob sends his sons to Egypt to buy corn. The brothers appear before Joseph, who recognizes them, but does not discover himself. After having proved them on this and on a second journey, and they having shown themselves so fearful and penitent that Judah even offers himself as slave, Joseph reveals his identity, forgives his brothers the wrong they did him, and promises to settle in Egypt both them and his father (xlii.-xlv.). Jacob brings his whole family, numbering 66 persons, to Egypt, this making, inclusive of Joseph and his sons and himself, 70 persons. Pharaoh receives them amicably and assigns to them the land of Goshen (xlvi.-xlvii.). When Jacob feels the approach of death he sends for Joseph and his sons, and receives Ephraim and Manasseh among his own sons (xlviii.). Then he calls his sons to his bedside and reveals their future to them (xlix.). Jacob dies, and is solemnly interred in the family tomb at Machpelah. Joseph lives to see his great-grandchildren, and on his death-bed he exhorts his brethren, if God should remember them and lead them out of the country, to take his bones with them.
See also: Tanakh (The Hebrew Bible), The Bible and history, Dating the Bible