From Baal HaSulam’s article “Introduction to the Study of the Ten Sefirot,” Item 78: “Even if the whole world says you are righteous, be wicked in your own eyes,” specifically in your own eyes. In other words, as long as you have not attained “opening of the eyes” in the Torah, regard yourself as wicked. Do not fool yourself with your reputation in the entire world as righteous.
People are not at will to do good or bad deeds. Regarding spirituality, the natural qualities of a person, which he was born with, don’t count: how nice and polite or how rude he is. Until one merits a revelation and the Creator’s testimony, that will guarantee his good intentions, until then, one will remain wicked.
But when a person achieves a revelation and the Light keeps holding him up, from then on, he will be a good, righteous. Therefore, we don’t make calculations about each other, who is bad and who is good. Regarding the spiritual path, everything is determined by crossing this cherished border—the “Machsom.”
From the 3rd part of the Daily Kabbalah Lesson 12/16/12, “The Introduction to the Study of the Ten Sefirot”