Joseph is one of the most interesting characters in all of Genesis. He is the poster child for a rags to riches story and demonstrates more character than the rest of the patriarchs, yet it is not through his line that Messiah will come.
To recap: Joseph's father, Jacob(Israel), had one true love, Rachel. Rachel had trouble conceiving and Israel had children born from his other wife(Rachel's sister) and the two maid servants. When Joseph was born of Rachel, he was Israel's favorite. His brothers knew it and grew jealous. It didn't help that Joseph didn't know when to keep his mouth shut. Joseph has two visions from God showing his family bowing down to him, so of course, he immediately discloses all. When his brothers see the opportunity, they decide to sell him into slavery.
Joseph is bought by an Egyptian official and we see a trend begin, everything Joseph does, God blesses and Joseph quickly ascends to positions of influence.
Joseph's character is on display as he ignores sexual advances from his master's wife and ultimately runs out when he finds himself in a sticky situation(see last blog). Potiphar's wife lies about the incident and has Joseph thrown in prison. In prison we find the same narrative, God blesses Joseph, he ascends to a position of influence and interprets a dream for the cup bearer to pharaoh.
Fast forward a few years, pharaoh has a dream, Joseph is brought to interpret and pharaoh makes him second in command. This is huge because famine is coming to all the land and by the position of influence Joseph is able to relocate and provide for his family. Preserving God's chosen people and setting the stage for God's next big event. "The Exodus"
One of my favorite verses occurs at the end of Genesis. Genesis 50:20 "As for you, you meant evil against me, but God meant it for good, to bring it about that many people should be kept alive, as they are today." Joseph's brothers finally come to apologize and Joseph realizes something profound, it's a truth found, not just throughout Genesis or the rest of scripture, but an insight into the character and purposes of God that transcends time. Joseph realizes that all the crap he went through served a greater purpose. And that if we look at life as a series of separate events, we miss the bigger picture of what God is doing. Life is not compartmentalized. Everything that we do, everything that happens, God is using to write a story much bigger than ourselves. A story that started at creation and includes us, but transcends only us. The story of God's glory written throughout history. The purpose of man. The glory of God.