Joseph could be forgiven for reading his life as a series of interruptions: favoured son, then a pit; household manager, then a prison cell on a false charge; forgotten by the cupbearer for two full years. Yet when he finally stands before his brothers, his verdict is startling: 'You intended to harm me, but God intended it for good.' Notice — Joseph does not call the evil good. He says God intended the story for good through it.
The pit was not a detour from the plan to save a region from famine. In God's hands, it was the road. Some of you are in a middle chapter that feels like a mistake. Genesis 50 says: judge the story by its Author, not by its middle.