We read this story of the reconciliation of Joseph to the brothers who had, in their jealousy, tried to harm him. "God has brought this about. Bring everyone here where I can provide for them."
Centuries later, Joseph's ancestors will form a nation, split it in two, then succumb to defeat by Assyria and then Babylon. Those ancestors can remember Joseph's story when they themselves are in exile. God can turn this terrible thing into something good just as the terrible thing that happened to Joseph turned out to be a saving event for his family.
Even more centuries later, we can also remember Joseph's story of exile and delivery. And we can look in it for hope for our situations.