Here the Baal Shem Tov stresses that sadness can stem from pride and self-preoccupation, whereas joy opens a person to humility and trust in Hashem. Joy is depicted as part of healthy spiritual selfhood.
וצריך האדם להבין הרמאות הזה ויאמר להיצה"ר איני משגיח על החומרא שאתה אומר שכוונתך לבטלני מעבודתו יתב' ושקר אתה דובר. וגם אם הוא באמת קצת חטא. יותר יהי' נחת רוח לבוראי שלא אשגיח על החומרא שאתה אומר לי לגרום לי עצבות בעבודתו. אדרבא אעבוד אותו בשמחה. כי זהו כלל גדול כי אין כוונתי בעבודה לצורך עצמי רק לעשות נחת רוח לפניו יתברך וא"כ אף שלא אשגיח על החומרא שאתה אומר לא יקפיד הבורא עלי כי כל עיקר שאיני משגיח הוא מחמת שלא אבטל מעבודתו ית' ואיך אבטל מעבודתו אפילו רגע אחד. וזהו כלל גדול בעבודת הבורא ית' שיזהר מעצבות כל מה שיוכל.
Therefore, understand the duplicity in this, and tell the evil inclination, “I will not pay attention to the stringency you are telling me. You speak falsely and your only intention is to obstruct me from service of HaShem, blessed is He. Even if it is in fact a slight transgression, it will certainly give my Creator much greater satisfaction if I pay no heed to what you are saying to depress me in my service of HaShem. On the contrary, I will serve Him with joy, because generally, my intention in this service is not for my own sake, but solely to give satisfaction to HaShem, blessed is He. This being so, although I am paying no heed to this stringency, my Creator will not treat me severely because of it. After all, the whole reason that I am not paying attention to it, is so that my service of HaShem, blessed is He, will not be obstructed, for, how can I be idle from His service for even a moment.”