ספר המדות, Immoral Behavior / Part I Immoral Behavior / Part I · כו
Sefer HaMiddot 1624
כו. עַל־יְדֵי הוֹצָאַת זֶרַע לְבַטָּלָה בּוֹרֵא קְלִפּוֹת, הַמִּתְלַבְּשִׁים בִּבְנֵי־אָדָם מִתְנַגְּדִים וְחוֹלְקִים עָלָיו וְעוֹשִׂין לוֹ יִסּוּרִין.
26. Through spilling one's seed wastefully, one creates klipos (husks -- evil forces) that enclothe themselves in people who oppose him, and antagonize him, and cause him suffering.