Ba'al Shem Tov, Beshalach
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
שמעתי ממורי שיש בר"ת אמר אויב ארדוף ה' אלפין ודפח"ח, והיינו שהאויב יודע שעושה רצון אלופו של עולם, מה שאין כן אם מכוון להנאת עצמו תמלאמו נפשי כמו שתרגם אונקלוס תשבע מנהון נפשי, לכך נענש נשפת ברוחך וגו': (תוי"י סו"פ תצא דר"ב ע"ב).
This applies when the enemy knows that they are doing the will of G‑d,⁵ but when they act only to fill their desires – “my lust shall be satisfy upon them” –they receive punishment: “You blew with Your wind, the sea covered them; they sank like lead in the mighty waters” (ibid. 15:10). Toldos Yaakov Yosef, Ki Tetze, p.102b
footnotes: ⁵ I.e., then G‑d’s name is with them.