Bereshit / Genesis 8:21 · Sod
וַיָּרַח יְהוָה אֶת־רֵיחַ הַנִּיחֹחַ וַיֹּאמֶר יְהוָה אֶל־לִבּוֹ לֹא־אֹסִף לְקַלֵּל עוֹד אֶת־הָאֲדָמָה בַּעֲבוּר הָאָדָם כִּי יֵצֶר לֵב הָאָדָם רַע מִנְּעֻרָיו וְלֹא־אֹסִף עוֹד לְהַכּוֹת אֶת־כָּל־חַי כַּאֲשֶׁר עָשִׂיתִי׃
And the Eternal smelled the pleasing scent, and the Eternal said in His heart, "I will never again curse the ground because of the human, for the inclination of the human heart is evil from his youth. And I will never again strike down every living thing as I have done.
Sod סוֹד
The heart of the world
"The Eternal said in his heart", but to whom did he say it? Ramban answers: to no one at that time, only to Moshe when he wrote the Torah. And he recalls the secret the sages hinted at with the words about the Almighty's "heart". The Netziv says what this heart is.
Ramban: the Eternal did not reveal this to a prophet at that time, only on the day he commanded Moshe (Moses) to write the Torah did he reveal to him that Noach's offering rose to favour and he decreed not to strike all life again. About the Almighty's "heart" Ramban already wrote on the verse "and He was grieved in His heart": a secret the sages hinted at. And "because of the human" means: the animals were punished because of him, and had the human not sinned they would have been saved, though they too corrupted their way. The Netziv: "heart" is a name for the constellations of the creatures, from which their life flows as from a heart, and the heart of the world is called the heart of the Holy One, blessed is He, as it were.
How Ramban and Haamek Davar explain it
Ramban And the Eternal said in his heart
He did not reveal this to a prophet at that time, only on the day he commanded Moshe (Moses) to write the Torah did he reveal to him that when Noach brought his offering it rose before him to favour, and he decreed not to strike all life again. And I have already written of this, of a secret hinted at by our teachers of blessed memory (Ramban on Bereshit / Genesis 6:6). And the meaning of "because of the human" is that because of him they were punished, and had the human not sinned they would have been saved, although they too corrupted their way.
Haamek Davar In his heart
A name for the constellations (מַזָּלוֹת) of the creatures, from which the life of the creatures flows, as from a heart. And the heart of the world is called the heart of the Holy One, blessed is He, as it were (כִּבְיָכוֹל), by what we wrote above on the verse "and he was grieved in his heart".
Takeaway
"And the Eternal regretted that he had made man on the earth, and he was grieved in his heart" (Bereshit / Genesis 6:6). Ramban there: the sages hinted at a great secret, and brings the midrash of a king who builds through an architect, and when the building is bad blames the architect (Bereshit Rabbah 27:4). The Almighty's "heart" with Ramban is His will turned to the world.
"The Torah revealed to Moshe": by Ramban, part of the Torah Moshe wrote as an account of what no one heard in its time. The words "said in his heart" are what the Eternal revealed only to the writer.
"For all flesh had corrupted its way on the earth" (Bereshit / Genesis 6:12): the sages read this of the animals too, which mated outside their kind (Sanhedrin 108a). Ramban: and still they were punished "because of the human".
Constellations (מַזָּלוֹת) with the Netziv: not stars, but supernal roots through which life comes to every creature. He calls them the "heart" of the creatures, and their common root the "heart of the world".
"As it were" (כִּבְיָכוֹל): the word with which the sages qualify expressions about the Almighty taken from human language.
The Netziv on verse 6:6: there he explained "and He was grieved in His heart" as a change in the roots of the creatures' life, not as a feeling of the Almighty. Here the same heart makes the decision not to curse.