A Counterpart in Holiness
Every force of impurity has a matching force of holiness, of equal value, whose purpose is to cancel it.
One of the main principles in Rav Shimshon's kabbalistic writing is that every force of impurity has a counterpart in holiness. The two are matched by gematria, bearing equal numerical value, and the force of holiness exists in order to cancel the other. For him, the numbers were not a clever game but a window into how Hashem arranged the world. Nothing dark exists without a light made to meet it. He used this approach across his commentaries to join together different subjects, finding in gematria the thread that ties one passage of the hidden Torah to another. The idea stands behind much of his writing: wherever there is a force that pulls a person down, there is already a matching force of holiness that can pull him back up.
Source: Rav Shimshon of Ostropoli, Dan Yadin on Sefer HaKarnayim, and his other kabbalistic writings; the exact printed passage is not located
When you notice a pull toward something you know is wrong, such as sharp speech, wasted hours or envy, name the opposite and take one small step toward it. If you feel like gossiping, say something good about the person. If you feel like scrolling, open a sefer for two minutes. Rav Shimshon teaches that holiness has already prepared an answer for every difficulty. Choose it once today and notice how much easier the next time feels.