We generally hold to the view that there is no such thing as absolute wickedness.
Every blemish and distortion of character or behavior has its positive side.
Our Sages long ago pointed out that things that at first glance appear evil can be directed toward worthy ends if one assesses them properly and recognizes their hidden potential.
Even such negative qualities as arrogance and irascibility have their legitimate application.
They are, in a sense, necessary ingredients in certain essential human activities, as necessary as talent, knowledge, or the very will to live.
–Rabbi Adin Steinsaltz
From "The Relation to the Past" in Teshuvah by Rabbi Adin Steinsaltz