בשגם = משה
Parshas Noach tells of the flood. The world had filled with corruption, and Hashem brought a flood that swept away every living thing outside the ark that held Noach and his family.
The Mishna in Avos, Ethics of the Fathers, says there were “עשרה דורות מאדם עד נח, ten generations from Adam to Noach.” Peri Tzaddik explains that ten corresponds to the Ten Commandments, which match the ten sefiros, the ten divine attributes through which Hashem made the world. Those ten generations were meant to repair the damage of Adam’s sin and to be refined in every trait, and so the generation of the flood was fit to receive the Torah, as the Midrash Rabba and the Zohar, the central work of Kabbala, say.
The soul of Moshe Rabbeinu, Moses our teacher, was there then, as hinted in the word “בְּשַׁגַּ֖ם, since also,” for בשגם equals משה. The word comes at the end of parshas Bereishis, when Hashem says His spirit will not stay with man forever and limits a person’s days to a hundred and twenty years.
They would have merited the Written Torah, the Five Books, and the Oral Torah, the teaching passed down by word of mouth. The Zohar reads the flood verse this way: “נבקעו כל מעינות תהום רבה, all the fountains of the great deep burst open,” are “מבועי דחכמתא לתתא, the springs of wisdom below,” and “וארובות השמים נפתחו, the windows of heaven opened,” are “תרעי דחכמתא לעילא, the gates of wisdom above.” They would then have repaired all the damage of the snake in Eden, as will happen in the future.
Because they angered Hashem, those waters turned into “מים הזדונים, raging waters,” and they were all swept away in the waters of the flood, leaving only Noach.
Peri Tzaddik: Chassidus on the Torah by Rabbi Tzadok HaKohen of Lublin, 19th century.

What the seforim read in 345
- בשגם = משהDivrei Chalomot, Peri Tzadik, Resisei Layla
- משה = אל שדיToldot Yaakov Yosef, Beit Yaakov on Torah, Avodat Yisrael
- שילה = משהOhr LaShamayim, Zera Kodesh, Peri Tzadik
- שככה = משהLikutei Moharan, Toldot Yaakov Yosef, Tzofnat Paneach
- משה = קפ"ד קס"אLikkutei Torah, Sources and References on Likkutei Torah, Toldot Yaakov Yosef
- חרו"ן א"ף = מש"הLikutei Moharan, Derekh Pikudekha, Megalleh Amukkot on Parashat VaEtchanan
- המצרי = משהSha'ar HaMitzvot, Sha'ar HaPesukim, Shenei Luchot HaBerit
- מש"ה = אלהים אחריםMegalleh Amukkot on Parashat VaEtchanan, Megalleh Amukkot on Torah, Nachal Kedumim on Torah
- נִרְצָה = משֶׁהLikutei Halakhot, Simchat HaRegel on Pesach Haggadah
- משגב = משהSefat Emet, Chomat Anakh on Torah
- משגב = א"ל שד"יPri Etz Chaim, Chomat Anakh on Psalms
- פַּרְסָה = מֹשֶׁהMei HaShiloach
- שמה = המצריNachal Kedumim on Torah
- משה = 345Likutei Moharan, Toldot Yaakov Yosef, Agra DeKala
In Tanach
First appearance of משה
וַיִּגְדַּ֣ל הַיֶּ֗לֶד וַתְּבִאֵ֙הוּ֙ לְבַת־פַּרְעֹ֔ה וַֽיְהִי־לָ֖הּ לְבֵ֑ן וַתִּקְרָ֤א שְׁמוֹ֙ מֹשֶׁ֔ה וַתֹּ֕אמֶר כִּ֥י מִן־הַמַּ֖יִם מְשִׁיתִֽהוּ׃