Exodus 1 describes how the children of Israel came to be oppressed by the Egyptians. However, God did not abandon them and was with them during their bondage.
The redemption motif that began in chapter three now continues in this concluding chapter of Genesis. God redeemed the evil acts of Joseph's brothers because He is faithful and His promises are sure.
Who is Jesus? He is many things. John tells us that He is the Word, God in the flesh, and the light and life of men. Most of all, this Jesus is the One who has come to save the world.
As Joseph and his brothers are reconciled at last, we clearly see the grace and sovereignty of God, who redeems even the worst acts of men for His own good purposes.