Йешайау 51:6 Мидраш: Ein Yaakov (Glick Edition), Kohelet Rabbah, Midrash Tanchuma & Devarim Rabbah

שְׂאוּ֩ לַשָּׁמַ֨יִם עֵֽינֵיכֶ֜ם וְֽהַבִּ֧יטוּ אֶל־הָאָ֣רֶץ מִתַּ֗חַת כִּֽי־שָׁמַ֜יִם כֶּעָשָׁ֤ן נִמְלָ֙חוּ֙ וְהָאָ֙רֶץ֙ כַּבֶּ֣גֶד תִּבְלֶ֔ה וְיֹשְׁבֶ֖יהָ כְּמוֹ־כֵ֣ן יְמוּת֑וּן וִישֽׁוּעָתִי֙ לְעוֹלָ֣ם תִּֽהְיֶ֔ה וְצִדְקָתִ֖י לֹ֥א תֵחָֽת׃ (ס)

Подними глаза твои к небу, И посмотри на землю внизу; Ибо небеса исчезнут, как дым, и земля состарится, как одежда, и живущие на ней умрут так же; Но спасение Мое будет во веки веков, и милость Моя не будет отменена.

Ein Yaakov (Glick Edition)

(Pr. 30, 15) The leech hath two daughters crying, Give, give. Said R. Chisda in the name of Mar Ukba: "This refers to heresy and the government, which are never satisfied, the first of catching men to her belief, and the second, duties." R. Chisda in the name of Mar Ukba said further: "The Gehenna cries, saying, 'Bring me in the two daughters, who always cry in this world, Bring in to me, bring in to me.' It reads (Pr. 2, 19) All that come unto her return not again, and they will not reach the paths of life. If they do not return again, they will certainly not reach the paths of life? It means, therefore, that they who repent and return from heresy, die that they may not return to heresy again." Does not the same apply to other sins? Are we not taught in a Baraitha: It was said of Elazar b. Durdia who left not out one prostitute. He was once informed that there was a prostitute in one of the sea countries, who received a pocketful of dinars in reward, and he took this amount and passed seven rivers until he reached her. She, however, caused him to repent. He then placed himself between two mountains, saying: "O ye mountains, pray for me," to which they answered: "Instead of praying for thee, we must pray for ourselves, for it is said (Is. 54, 10) For the mountain may depart, and the hills may be removed." He then said: "Heaven and earth, pray for me," and they also answered: "We have to pray for ourselves, as it is said, (Ib. 51, 6) For the heavens shall vanish." He then said: "The sun and moon pray for me!" Whereupon they replied: "We have to pray for ourselves, as it is said (Ib. 24, 23) Then the moon shall be confounded and the sun ashamed." He then said: "Stars and planets, pray for me." Whereupon they replied: "Before we do it for you, let us rather pray for ourselves, for it is said (Ib. 34, 4) And all the host of heaven shall be dissolved." He then exclaimed: "I see that I can rely upon myself," and having put his head between his knees, he wept until his soul departed. A heavenly voice was then heard, saying, "R. Elazar b. Durdia is prepared for life in the world to come." (Hence we see that he who has repented from sin, also died? Because he, Elazar was involved in such, it is similar to heresy.) Rabbi, when he heard this, wept, saying: "There is again one who bought his world in one moment while another must work for it all his life." And again, it is not enough for those who repent, that they get a share in the world to come, but they are named also rabbis [as the heavenly voice said, Rabbi Elazar].

Kohelet Rabbah

“Vanity of vanities, said Kohelet; vanity of vanities, everything is vanity” (Ecclesiastes 1:2).
“Vanity of vanities [havel havalim]” – Rabbi Huna said in the name of Rabbi Aḥa: David made a statement and did not explain it, but his son Solomon explained it. Solomon made a statement and did not explain it, but his father David explained it. David said: “Man is like hevel” (Psalms 144:4); to what hevel [is man compared]? If it is to the hevel [heat] of an oven, it has significance. If it is to the hevel of a stove, it has significance. His son Solomon came and explained: “Vanity of vanities [havel havalim], said Kohelet.” Rabbi Shmuel bar Naḥmani taught it in the name of Rabbi Yehoshua ben Korḥa: It is comparable to a person who places seven pots on the fire one atop the other, and the heat of the upper one is insignificant.9This comparison is based on the fact that the term vanity [hevel] appears five times in Ecclesiastes 1:2, and twice it appears in the plural, for a total of seven mentions of the term hevel.
Solomon said: “For who knows what is good for man in his life, [all the days of his vain life,] that he spends like a shadow” (Ecclesiastes 6:12). What shadow? If it is like the shadow of a wall, it has substance. If it is like the shadow of a palm tree, it has substance. David came and explained: “His days are like a passing shadow” (Psalms 144:4). Rabbi Huna [said] in the name of Rav Aḥa: Like that bird that passes and its shadow passes with it. Shmuel said: Like the shadow of bees that have no substance at all.
Rabbi Shmuel bar Rav Yitzḥak taught it in the name of Rabbi Shimon ben Elazar: The seven vanities [havalim] that Kohelet mentioned correspond to the seven worlds that a person sees. A one-year-old is like a king who is on a canopied litter and everyone is hugging and kissing him. A two- or three-year-old is like a pig that extends its hands into the sewers. A ten-year-old jumps like a goat. A twenty-year-old whinnies like a horse, beautifies himself and seeks a wife. When he marries a wife he is like a donkey. When he begets children, he is as audacious as a dog to bring [home] bread andfood. When he grows old, he is like a monkey. That is stated regarding the common people; however, regarding Torah personalities, it is written: “King David was old” – even though he was old, he was a king.
Rabbi Yehuda ben Rabbi Simon said: The seven vanities that Kohelet mentioned correspond to the seven days of Creation. On the first, “In the beginning God created the heavens and the earth” (Genesis 1:1), and it is written: “For the heavens will vanish like smoke” (Isaiah 51:6). On the second: “Let there be a firmament” (Genesis 1:6), and it is written: “The heavens will be furled like a scroll” (Isaiah 34:4). On the third: “Let the waters be gathered” (Genesis 1:9), and it is written: “The Lord will destroy the tongue of the sea of Egypt” (Isaiah 11:15). On the fourth: “Let there be lights” (Genesis 1:14), and it is written: “The moon will be disgraced” (Isaiah 24:23). On the fifth: “Let the waters swarm [with swarms of living creatures, and let fowl fly above the earth in the open firmament of heaven]” (Genesis 1:20), and it is written: “I will destroy the birds of the heavens” (Zephaniah 1:3). On the sixth: “Let us make man” (Genesis 1:26), and it is written: “I will destroy man and animal” (Zephaniah 1:3). Regarding Shabbat, what do you have to say? “One who profanes it will be put to death” (Exodus 31:14). That is stated regarding one who does so intentionally; but [one who profanes it] unwittingly, he will bring an offering and gain atonement. When Adam saw the praise of Shabbat, that one who brings an offering gains atonement, he began singing in its regard to the Holy One blessed be He, praise and psalm. That is what is written: “A psalm, a song for the day of Shabbat” (Psalms 92:1). Rabbi Levi said: This [psalm] was stated by Adam.

Midrash Tanchuma

For I was a son unto my father indicates that before I left my mother’s womb I was the son of the Holy One, blessed be He, who rebuked me as a father rebukes his son. Tender and an only one in the sight of my mother alludes to the time I was tender and alone and no one was with me in my mother’s womb. Then the angel instructed me and told me: “Take my words to heart, keep my commandments and it shall be as described above.” The Holy One, blessed be He, then warned him concerning everything that would transpire, and the angel led him about from morning until evening. He showed him where he would die and where he would be buried. Then he led him about and walked with him through the world, showing him the righteous and the wicked and everything else. In the evening he brought him back to his mother’s womb. The Holy One, blessed be He, fashioned bolts and doors (Job 38:10) before him, as it is said: Or who shut up the sea with the doors? (ibid., v. 8), and I have put My words in thy mouth, and have covered thee in the shadow of My hand (Isa. 51:6). Then He said to him: Thus far shalt you come, but no farther (Job 38:11).