In this Parsha, Yosef is called Putiel. Rashi explains that he was: מְפַטְפֵּט בְּיִצְרוֹ i.e., he was M'zalzel and made fun of his Yetzer Hara. His master, Potiphar, had a similar name, and we find this Lashon of וּפטְפִּט “Pitput” (prattling) used in reference to Reshaim. (Chazal). It is very possible that Potiphar had plenty of Zil'zul for noble things, especially since Chazal say that he had a desire for Yosef (and he became: פוֹטִיפֶרַע an amputee).
He made a joke of Tevah in a negative way. We also find that the holy stone of Yosef on the Choshen was: שֹׁהַם Shoham, and Rashi in Parshas Breishis says that: אַבְנֵי שֹׁהַם Shoham stones come from the Nile River in Mitzrayim! Look how Yosef appears to channel all evil to be used for Kedusha. Perhaps his Midda of Malchus has to do with this.
Our Melech, Dovid, was an Admoni (like Eisav), and Shmuel HaNavi didn’t want him to be Melech. But Hashem said that he’ll channel his evil nature for good things. (Medrash). I have seen Gedolim and Tzadikim who did things that didn’t seem proper; but in fighting the Yetzer Hara you need to be tricky. I have hundreds of callers with all kinds of problems, and very, very often they need to be tricky, and use their Yetzer Hara to conquer their issues!
People are petrified of Ga'ava, when their entire problem stems from: וַיִּגְבַּהּ לִבּוֹ בְּדַרְכֵי ה' lack of self-esteem and kosher Ga'ava. Sometimes a warm and caring person has to be tough and cold about others; and this will save the situation! Their goodness and humility are exactly the problem! בִּטוּלָהּ זוֹהִי קִיּוּמָהּ By doing “less”, you may be actually doing “more”. Sometimes the biggest Mitzva is not to learn, or do Chesed! (Of course, you need a Rebbe).
