"Then the chiefs of Edom were dismayed" (Exodus 15:15). If you should say that they were coming to inherit their land, it has already been said, "And command the people, saying, You are to pass through the border of your brethren the children of Esau... contend not with them" (Deuteronomy 2:4) -- rather, it was on account of provisions [tolls and supplies]. Another interpretation: they said, Now they are coming to exact the quarrel that was between our father and their father, as it is said, "And Esau hated Jacob because of the blessing" (Genesis 27:41). "Trembling seizes the mighty of Moab" (Exodus 15:15). If you should say they were coming to lay waste their land or to inherit it, it has already been said, "Do not distress Moab" (Deuteronomy 2:9) -- rather, it was on account of provisions. Another interpretation: they said, Now they are coming to exact the quarrel that was between our father and their father, as it is said, "And there was strife between the herdsmen of Abram's cattle and the herdsmen of Lot's cattle" (Genesis 13:7). "All the inhabitants of Canaan melted away" (Exodus 15:15). When they heard that the Holy One, blessed be He, said to Moses, "But of the cities of these peoples... you shall save alive nothing that breathes" (Deuteronomy 20:16), they began to melt away. They said: These others [Edom and Moab] feared only for their money and their property; but these [Israel] are not coming against us except to destroy us -- how much more so! -- and they began to melt away. "Melting" means nothing other than dissolving, as it is said, "the earth is dissolved and all the inhabitants thereof" (Psalms 75:4), and it says, "that their heart may melt and their stumbling blocks be multiplied... all the inhabitants of Canaan melted away" (Ezekiel 21:20).
The Chiefs of Edom and Moab Dismayed and Canaan Melted Away
Mekhilta DeRabbi Shimon Ben Yochai 15:15
אז נבהלו אלופי אדום אם תאמר שהם באים לירש את ארצם הרי כבר נאמר (דברים ב' ד') ואת העם צו לאמר אתם עוברים בגבול אחיכם בני עשו אל תתגרו בם אלא מפני ארנוניאות: ד"א אמרו עכשו הן באים לגבות מריבה שבין אבינו לאביהם שנ' (בראשית כ"ז מ"א) וישטם עשו את יעקב על הברכה: אילי מואב יאחזמו רעד. אם תאמר שהן באין להחריב את ארצן או לירש אותה הרי כבר נאמר (דברים ב' ט') אל תצר את מואב אלא מפני ארניניאות: ד"א אמרו עכשו הן באין לגבות מריבה שבין אבינו לאביהם ויהי ריב בין רעי מקנה אברם ובין רעי מקנה לוט (בראשית י"ג ז'): נמגו כל יושבי כנען. כיון ששמעו שאמר לו הקב״ה למשה (דברים כ' ט"ז) רק מערי העמים האלה לא תחיה כל נשמה התחילו נמוגים אמרו אלו ואלו אין מתיראין אלא מפני ממונם ומפני נכסיהן התחילו נמוגין אבל אלו אין באין עלינו אלא לכלותינו על אחת כמה וכמה התחילו נמוגים אין נמינה אלא המסאה שנ' (תהלים ע"ה ד') נמוגים ארץ וכל ישביה: ואומר (יחזקאל כ"א כ') למען למוג לב והרבה המכשולים (למען) נמוגו כל ישבי כנען: