לדוד אודך בכל לבי וגו'. אמר ישעיה (ישעיה מ ז-ח) יבש חציר נבל ציץ. ואתם מה לכם לעשות (שם ט) על הר גבוה עלי לך מבשרת ציון. אמרו ישראל מתייראין אנו מפני שונאים. אמר הקב"ה השונאים חציר היו. כלומר כל זמן שהיו קיימים הייתם מתייראין מהם. עכשיו שאבדו (שם ז) כי רוח ה' עברה בו. ממי אתם מתייראים. (שם ט) הרימי בכח קולך הרימי אל תיראי וגו'. אמרו ישראל אימתי אנו מקלסין כשישלם גמול לרשעים. שנאמר (עובדיה א טו) כאשר עשית יעשה לך גמולך ישוב בראשך. מה היה הגמול שנפץ את עוללי ישראל אל הסלע. שנאמר (תהלים קלז ט) אשרי שיאחז ונפץ וגו'. אותה השעה מקלסין ישראל בכל לבם להקב"ה. שנאמר אודך בכל לבי. מכאן אתה למד שכל זמן שהרשעים בעולם הם משעבדים את ישראל ודוחקים אותם ואינם פנויים לקלס בכל לבם ואם אובדים אותה שעה אודך בכל לבי וגו':
"I will thank you, O Lord, with all my heart..." (Psalm 138:1) Isaiah said: "Grass withers and flowers fade, but the word of our G-d endures forever." (Isaiah 40:8) And what do you have to do on the high mountain? Go up and proclaim the good news to Zion. Israel said: "We are afraid because of our enemies." The Lord said: "Your enemies were but grass. As long as they existed, you were afraid of them. But now that they are gone, lift up your voice and do not be afraid." Israel said: "When will we be able to avenge ourselves against the wicked?" As it is said: "As you have done, it will be done to you; your deeds will return upon your own head." (Obadiah 1:15) What was the punishment for smashing the children of Israel against the rock? As it is said: "Happy is the one who seizes your infants and dashes them against the rocks." (Psalm 137:9) At that time, Israel cursed the Lord with all their heart. As it is said: "I will thank you with all my heart." From this we learn that as long as the wicked are in the world and oppress Israel, pushing them around and not allowing them to curse with all their heart, if they are destroyed at that moment, "I will thank you with all my heart."...
