Bereshit / Genesis 1:3 · Sod
וַיֹּאמֶר אֱלֹהִים יְהִי אוֹר וַיְהִי־אוֹר׃
And the Almighty said, "Let there be light." And there was light.
Sod סוֹד
Five steps of light in a person
How does understanding come to a person? Not at once. First you feel nothing, then something glimmers, then you see that it is good, and only then you change your life.
"Light" is said five times, and Mei HaShiloach sees in them five steps: God prepares the light, a person begins to feel, comes to know the Creator, turns from evil, does good. And the full light, says Baal HaSulam, is hidden until the person is purified, which is possible in this lifetime.
How Mei HaShiloach and Baal HaSulam explain it
Mei HaShiloach And the Almighty said, "Let there be light," and there was light
The word "light" is said here five times.
The first, "let there be light," is when the Eternal prepares, within Himself, to shine on a person. The person does not yet understand any of it and does not feel anything at all. Only the Eternal is busy shining for him.
Then "and there was light": the person begins to feel.
Then "the Almighty saw the light, that it was good": the person recognizes his Creator and understands that it is good to follow the Eternal.
"The Almighty separated the light from the darkness": the person turns away from evil.
Yet even after this, "the Almighty called the light day" is still needed, which means doing good. As the Talmud says: "The Merciful One called the light and assigned it the commandment of the day" (Pesachim 2a). This alone is not enough: a person has to live with this knowledge, serve the Eternal, and do the commandments and good deeds.
Baal HaSulam And the Almighty said, "Let there be light," and there was light
On these words the Zohar (Bereshit, folio 31b) says: "'Let there be light' is for this world, 'and there was light' is for the World to Come."
The explanation is this. Everything created in the beginning was created fully formed and at full stature, as the sages said. That is, in complete perfection and splendor. So the light created on the first day came out in all its perfection. It held the life of this world as well, the finest and most pleasant, to the measure expressed in the words "let there be light."
But to prepare a place for choice and for work on oneself, He hid this light away for the righteous, for the future, according to the sages. That is why they said it plainly: "Let there be light for this world." But it did not stay so: "and there was light for the World to Come." This means that those who engage in Torah and the commandments selflessly (לִשְׁמָהּ) merit this light only in the future. Here "the future" means the time when their bodies are fully purified on the way of Torah. Then they will be worthy of that great light, even in this world. As the sages said: "You will see your world in your lifetime."
Takeaway
For Mei HaShiloach, the last two steps are the words of a psalm: "Turn from evil and do good" (Tehillim / Psalms 34:15).
"You will see your world in your lifetime" is a saying of the Talmud (Berakhot 17a).
On choice and work, Baal HaSulam writes earlier in the same book: choice is needed only to strengthen oneself on the path of good, and the work is to purify one's body and engage selflessly, that is, to give joy to one's Maker and not for one's own enjoyment (Talmud Eser HaSefirot, Introduction 21-22).