וַיָּ֖קָם וַיֹּ֣אכַל וַיִּשְׁתֶּ֑ה וַיֵּ֜לֶךְ בְּכֹ֣חַ ׀ הָאֲכִילָ֣ה הַהִ֗יא אַרְבָּעִ֥ים יוֹם֙ וְאַרְבָּעִ֣ים לַ֔יְלָה עַ֛ד הַ֥ר הָאֱלֹהִ֖ים חֹרֵֽב׃
Er stand auf und aß und trank und ging, gekräftigt von diesem Essen, vierzig Tage und vierzig Nächte bis an den Berg Gottes, den Horeb.
Sha'arei Kedusha
Our sages, of blessed memory, stated,487Talmud Bavli, Taanit 11a-b “A person should always consider himself as if holiness dwells in his bowels, as written,488Hosea 11:9 ‘Holiness is in your innards.’” Our teacher, Moshe, peace be upon him, only merited receiving the Torah after having fasted for forty days and forty nights.489Exodus 34:28 Similarly, Eliyahu the Prophet, who is remembered for good, only merited ascending the heights after he fasted for forty days and forty nights.490Kings I 19:8 Likewise, Rabbi Elazar, Rabbi Akiva, and Rabbi Yishmael only merited all the wondrous wisdom and prophecy they attained when they ascended to the Pardes, after having fasted for many days and through all kinds of self-flagellation and abstention.491Heichalot Rabbati and Heichalot Zutrati Similarly, King Solomon, about whom it states that,492Kings I 5:11 “He was wiser than all men,” only merited to such wisdom after fasting for forty days and forty nights, as our Sages explained about the large letter Mem-מ493The numerical value of the letter mem-מ is forty. of the opening word of Proverbs-Mishlei-משלי.494Yalkut Shimoni Mishlei, Remez 929