Holy Zohar text. Daily Zohar -69.

The Zohar discuss the difference between the first and the final redemption. The first one we left Egypt as slaves because Zeir Anpin, which is the Torah and the energy of freedom was only in its first stage of birth. Pharaoh was not aware of Z”A existence even though he had the connection to the negative side and could see all the spiritual forces. He asked Moses “Who is YHVH that I (Pharaoh) should listen to his demands?”.
He said the truth and the Zohar tells us that Pharaoh was a great wizard and could see all the spiritual forces. At that time he didn’t see YHVH as Zeir Anpin. The Holy Ari revealed to us that Zeir Anpin grew after the Exodus and reached greatness on Mount Sinai with the revelation of the Torah.

The final redemption will come with YHVH, Zeir Anpin in the lead and will raise the dead. It will not be with haste like running away but with full revelation of the light.

The fiftieth gate is concealed until the final redemption at time which all the levels will be revealed at the same time because the Torah is with us. Then we will see with our eyes the connection and the flow of energy from the upper and lower levels and the light that was there before the breaking of the vessels that created this world.

מקור הקטע: הקדמת תיקוני הזוהר עם פרוש מעלות הסולם (רבי יהודה צבי ברנדויין זל) פסקה 341