He and his son went and hid in the study hall. Each day his wife would bring them bread and a jug of water, and they would eat. When the decree grew more severe, he said to his son: Women are of light mind; perhaps they will cause her distress and she will reveal us. They went and hid in a cave. A miracle occurred for them, and a carob tree and a spring of water were created for them. They would remove their garments and sit up to their necks in sand. All day long they would study. At the time of prayer they would put on their garments, cover themselves, and pray, and then remove their garments again so that they would not wear out. They stayed in the cave twelve years. Elijah came and stood at the entrance of the cave and said: Who will inform bar Yochai that the emperor has died and his decree is annulled? They went out and saw people plowing and sowing. They said: They forsake eternal life and occupy themselves with temporal life. Every place upon which they cast their eyes was immediately burned. A heavenly voice went forth and said to them: Have you come out to destroy My world? Return to your cave! They went back and stayed twelve months of the year. They said: The judgment of the wicked in Gehinnom is twelve months. A heavenly voice went forth and said: Go out from your cave! They went out.
The Cave Of Shimon Bar Yohai
Shabbat 33b
אֲזַל הוּא וּבְרֵיהּ, טְשׁוֹ בֵּי מִדְרְשָׁא. כׇּל יוֹמָא הֲוָה מַתְיָא לְהוּ דְּבֵיתְהוּ רִיפְתָּא וְכוּזָא דְמַיָּא וְכָרְכִי. כִּי תְּקֵיף גְּזֵירְתָא אֲמַר לֵיהּ לִבְרֵיהּ: נָשִׁים דַּעְתָּן קַלָּה עֲלֵיהֶן, דִילְמָא מְצַעֲרִי לַהּ וּמְגַלְּיָא לַן. אֲזַלוּ טְשׁוֹ בִּמְעָרְתָּא. אִיתְרְחִישׁ נִיסָּא אִיבְּרִי לְהוּ חָרוּבָא וְעֵינָא דְמַיָּא, וַהֲווֹ מַשְׁלְחִי מָנַיְיהוּ וַהֲווֹ יָתְבִי עַד צַוְּארַיְיהוּ בְּחָלָא. כּוּלֵּי יוֹמָא גָּרְסִי. בְּעִידָּן צַלּוֹיֵי לָבְשִׁי מִיכַּסּוּ וּמְצַלּוּ, וַהֲדַר מַשְׁלְחִי מָנַיְיהוּ כִּי הֵיכִי דְּלָא לִיבְלוּ. אִיתִּיבוּ תְּרֵיסַר שְׁנֵי בִּמְעָרְתָּא. אֲתָא אֵלִיָּהוּ וְקָם אַפִּיתְחָא דִמְעָרְתָּא, אֲמַר: מַאן לוֹדְעֵיהּ לְבַר יוֹחַי דְּמִית קֵיסָר וּבְטִיל גְּזֵירְתֵיהּ. נְפַקוּ, חֲזוֹ אִינָשֵׁי דְּקָא כָּרְבִי וְזָרְעִי, אָמְרִין: מַנִּיחִין חַיֵּי עוֹלָם וְעוֹסְקִין בְּחַיֵּי שָׁעָה. כׇּל מָקוֹם שֶׁנּוֹתְנִין עֵינֵיהֶן מִיָּד נִשְׂרָף. יָצְתָה בַּת קוֹל וְאָמְרָה לָהֶם: לְהַחֲרִיב עוֹלָמִי יְצָאתֶם?! חִיזְרוּ לִמְעָרַתְכֶם! הֲדוּר אֲזוּל אִיתִּיבוּ תְּרֵיסַר יַרְחֵי שַׁתָּא. אָמְרִי: מִשְׁפַּט רְשָׁעִים בְּגֵיהִנָּם שְׁנֵים עָשָׂר חֹדֶשׁ. יָצְתָה בַּת קוֹל וְאָמְרָה: צְאוּ מִמְּעָרַתְכֶם! נְפַקוּ.