Before Moses goes to Pharaoh with the command “Let my people go..”, God instructs Moses to tell Pharaoh that he adopted the Israelites as his firstborn.
With this statement God protected the Israelites from the 10th plague, which was the killing of the firstborn.
In the middle of the night, God went into Egypt and brought death to all the firstborns in Egypt. The Israelites were singing for the Light within the safety of their homes, protected by the special markings on the door posts that blocked the aspect of death from coming into their homes.
God himself performed the task because that was the only way to break the control of Egypt over the material world. The firstborn is the aspect of Keter and God removed the Klipah of Egypt. That was a complete redemption that brought immortality to the Israelites.
That was the first Redemption. In the Final Redemption we’ll experience similar situation. The tikkun of the world involves 320 sparks of Light. We need to correct 288 and the 10th part is left for God. This light will come after Mashiach opens the path and the negativity in the aspect of Keter will be removed forever. This is why we see that most of the world governments are controlled by powerful people with hidden personal agendas.
The pain of the cleansing will be great and only those who are protected with the Light of the Zohar will be saved from the Final process.
This video explains the flow of light in the Tree of Life.
Sorry for the poor quality. I did it all by myself with limited tools but you can still learn a lot from it.
Please ask questions if something is not clear in the video.