Хавакук 2:6 Мидраш: Aggadat Bereshit

הֲלוֹא־אֵ֣לֶּה כֻלָּ֗ם עָלָיו֙ מָשָׁ֣ל יִשָּׂ֔אוּ וּמְלִיצָ֖ה חִיד֣וֹת ל֑וֹ וְיֹאמַ֗ר ה֚וֹי הַמַּרְבֶּ֣ה לֹּא־ל֔וֹ עַד־מָתַ֕י וּמַכְבִּ֥יד עָלָ֖יו עַבְטִֽיט׃

Разве все это не притворит против него притчу, и не будет издеваться над ним загадкой, и скажи: 'Горе тому, что умножает то, что не его! Сколько? и это возлагает на себя много обещаний!'

Aggadat Bereshit

[3] Another interpretation: "And there will be an end..." Like Scriptures say: "For I will restore health to you, and I will heal you of your wounds" (Jeremiah 30:17). The measures of God are not like the measures of flesh and blood, for He can strike with a sword and heal with a sword. He is able to heal Israel in the very thing in which they sinned. For example, when they sinned with a cloud, it is written, "He has covered Himself with a cloud" (Lamentations 3:44), and they were struck with a cloud, as it is written, "Behold, he shall come up like clouds" (Jeremiah 4:13), and they were healed with a cloud, as it is written, "Who are these that fly as a cloud?" (Isaiah 60:8). Similarly, it is written, "And the Lord will create upon every dwelling place of mount Zion, and upon her assemblies, a cloud and smoke by day" (Isaiah 4:5). When they sinned with a thick darkness, it is written, "And darkness shall cover the earth" (Isaiah 60:2), and they were struck with darkness, as it is written, "He has made my skin black and my bones to shake" (Lamentations 3:4), and they were healed with darkness, as it is written, "Who are these that fly as a cloud?" (Isaiah 60:8). When they sinned with justice, it is written, "They judge not the cause, the cause of the fatherless" (Jeremiah 5:28), and they were struck with justice, as it is written, "He will speak judgment to the Gentiles" (Isaiah 42:1), and they were healed with justice, as it is written, "Zion shall be redeemed with judgment" (Isaiah 1:27). They were struck in dreams, "as a dream when one awakens" (Psalms 73:20), and they were healed in dreams, "Your old men shall dream dreams" (Joel 3:1). Similarly, Joseph was not sold except for the sake of dreams, as it is written, "Behold, this dreamer comes" (Genesis 37:19), and he was healed in a dream, as it is written, "And it came to pass at the end of two full years, that Pharaoh dreamed" (Genesis 41:1), "For I will restore health to you, and I will heal you of your wounds" (Jeremiah 30:17).