The Torah, “Numbers,” 14:17 – 14:18: Now, please, let the strength of the Lord be increased, as You spoke, saying, “The Lord is slow to anger and abundantly kind, forgiving iniquity and transgression, Who cleanses [some] and does not cleanse [others], Who visits the iniquities of parents on children, even to the third and fourth generations.”
There are three generations from Keter to Malchut: Hochma, Bina, and Zeir Anpin. That’s the way it is in every spiritual state. The Creator’s image is formed on the fourth level, Malchut. The third generation is Zeir Anpin, a state of smallness, where the ego is erased and then fully corrected in the fourth generation. This is symbolized by the words: Who visits the iniquities of parents on children, even to the third and fourth generations. It is about the ascent of Malchut through Zeir Anpin to Bina, to Hochma, and then to Keter.
The Torah, “Numbers,” 14:19 – 14:23: Please forgive the iniquity of this nation in accordance with your abounding kindness, as You have borne this people from Egypt until now. And the Lord said, “I have forgiven them in accordance with your word. However, as surely as I live, and as the glory of the Lord fills the earth that all the people who perceived My glory, and the signs that I performed in Egypt and in the desert, yet they have tested me these ten times and not listened to My voice, if they will see the Land that I swore to their fathers, and all who provoked Me will not see it.
There is nothing bad about that. On the contrary, it is about a great mercy that the Creator performs when He kills everyone, which means that He kills all of the egoistic desire.
The reason is that it is only in the altruistic desires that replace the egoistic desires that the people can feel the state called the land of Israel. All this rage is necessary in order to correct egoism to altruism. No egoist can enter the state of the attribute of love and bestowal called the land of Israel. He must first die, which means to be reborn and enter it, either in a state of smallness (the third generation) or in a state of greatness (the fourth generation).
Therefore, when the Torah speaks about punishment, destruction and death, it refers to the egoism, which actually has to be destroyed. Only the attributes of love and bestowal that replace it will feel the state of the land of Israel.
From KabTV’s “Secrets of the Eternal Book” 4/29/15