Prophets, Joshua, 6:26-6:27: And Joshua adjured them at that time, saying, Cursed be the man before the Lord, that rises up and builds this city, Jericho; with (the loss of) his first-born shall he lay its foundation, and with (the loss of) his youngest son shall he set up its gates.
So the Lord was with Joshua; and his fame was throughout the entire land.
To this day, the city of Jericho is located below Jerusalem, on the bank of the Jordan, but Jews do not live there.
After Jericho fell, the people followed the Creator in everything, and the Creator gave the city to the Israelites. But the laws were not fulfilled in full.
The people of Israel were told: take everything from the conquered city of Jericho, only do not take the forbidden. And yet some of them secretly took the forbidden. Therefore, when Joshua sent his men to capture the city of Ayya believing that it would be easy and fast since the Creator was with them, suddenly, an unexpected thing happened.
Prophets, Joshua, 7:5: And the men of Ai smote of them about thirty-six men; and they chased them from before the gate to Shebarim, and smote them in the descent; and the hearts of the people melted, and became as water.
The heart is a combination of properties of strength (Gevura, courage) and mercy (Bina). Therefore, the heart contracts and works like this: from one property to another. This is how we exist.
And the sons of Israel took properties that cannot be corrected, that are forbidden.
Question: And that is why they were punished?
Answer: Not that it is a punishment, but it is a natural consequence of the fact that they used properties that cannot be corrected.
Therefore it is written: “And the hearts of the people melted, and became as water.” This means that they still have the pure property of I, but without strength, without any force inside of it.
From KabTV’s “Secrets of the Eternal Book” 4/27/19