The Torah, Deuteronomy 22:21: …for she [the girl for whose virginity no evidence was found] did a disgraceful thing in Israel, to commit adultery [in] her father’s house. So shall you clear away the evil from among you.
It is about the Klipa (shell), the desire that, despite being connected to the upper level, still retains the intention for its own sake.
There is nothing that can be done here because the correction of this girl (this desire) is her death, meaning killing the intention “for oneself,” cutting it off from the actual desire.
The desire is left in a pure state, without an intention. Specifically Lev HaEven (the stony heart) kills the intention. Then this desire returns again and begins to correct itself with other intentions.
The call “clear away the evil from among you” means “engage in scrutiny all the time.” This is our work at different levels. Therefore, the entire Torah describes the path of one’s spiritual correction.
From KabTV’s “Secrets of the Eternal Book” 10/5/16