The portion opens with the answer to Moses' complaint at the end of Shemot: "Why have You done evil to this people?" And G-d answers: "I am G-d. I appeared to Abraham, Isaac and Jacob as E-l Sha-dai, but by My Name Havayah I was not known to them."
The question: simply understood, G-d reassures Moses that the time has come to fulfill the promise to the Patriarchs. But why preface it with "by My Name I was not known to them"? That seems to diminish the promise to the Patriarchs! And what is the lesson for every Jew at all times?
G-d's Names: the Names E-l and Sha-dai express G-d as He contracts Himself within the framework of the worlds. The Sages: Sha-dai — "I said to My world, enough (dai)." Whereas the Name Havayah is the essential Name: "was, is and will be as one", above the limits of the world.
The answer to Moses' complaint (as the Alter Rebbe explains): G-d did not merely comfort. He answered: the purpose of the Exodus is the revelation of the Name Havayah — "and you shall know that I am G-d." And to be worthy of so lofty a revelation, one must go through a very harsh exile — to the point of feeling "why have You done evil". The Patriarchs did not go through this stage of preparation, and so did not receive this revelation.
And from here to the future Redemption: like the Exodus, the purpose of the future Redemption is not only physical redemption, nor only redemption from the evil inclination, but knowledge of the Name Havayah. The Rambam concludes his Mishneh Torah: "The occupation of the whole world will be only to know G-d… for the earth will be filled with the knowledge of G-d as the waters cover the sea." Just as water covers the sea-bed until it cannot be seen, so the earth will be entirely nullified in the revelation of G-dliness.
In practice
The hardship of exile is no contradiction to the promise. It is the preparation for the highest revelation.