Midrash Tanchuma Buber, Chukat
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.
ויאמר אליו אדום לא תעבור בי וגו' (שם שם יח). זש"ה אני שלום וכי אדבר המה למלחמה (תהלים קכ ז), ומנין שאף הקב"ה אמר להם שאין מניחין אתכם לעבור, ולא הכל מהם, אלא אני הוא שרוצה, שנאמר אל תתגרו בם כי לא אתן לכם מארצם וגו' (דברים ב ה).
(Numb. 20:18:) BUT EDOM SAID UNTO HIM: YOU SHALL NOT PASS THROUGH ME. This text is related to Ps. 120:7): I AM FOR PEACE; BUT WHEN I SPEAK, THEY ARE FOR WAR.¹⁵⁴., Numb. 6:13. Where is it shown that the Holy One also told them that they would not permit you to pass, that everything is not due to them, but that it is I who wills it? Where it is stated (in Deut. 2:5): DO NOT ENGAGE THEM IN BATTLE, FOR I WILL NOT GIVE YOU ENOUGH OF THEIR LAND FOR EVEN THE SOLE OF A FOOT TO TREAD ON.
footnotes: ¹⁵⁴ Tanh