רַבִּ֥ים אֹמְרִים֮ מִֽי־יַרְאֵ֪נ֫וּ ט֥וֹב נְֽסָה־עָ֭לֵינוּ א֨וֹר פָּנֶ֬יךָ יְהוָֽה׃
פֿיל זאָגן: װער װעט אונדז װײַזן גוטס?גאָט, הײב דאָס ליכט פֿון דײַן פּנים אױף אונדז.
Kli Yakar
And what is written, “in order to afflict you, to test you, to know what is in your heart, etc.” This is the language of “raising a banner” [nes], from the phrase Raise upon us the light of Your countenance, O Lord (Psalms 4:7), as if your heart was placed on a high banner and set at the crossroads where all can see it. Similarly, He wanted to make known what is in your heart to all the nations of the earth, for to know is like so that all the peoples of the earth may know, and He wanted to show them whether you would keep His commandments or not. For either way, if you keep His commandments and the Lord gives you success exceeding all other nations, they would have reason to question and say, “Why has He not done so for every nation, for Ishmael and Esau who are also descendants of Abraham?” The Holy One, blessed be He, would answer them, “For what nation would withstand such a test as they did, walking after the Lord in an unsown land?” And likewise, conversely, if, God forbid, they sin and the Lord sends calamity upon them, all the nations would say, “Why has the Lord done thus to this land?” And He would answer them that it was because they were not wholehearted with the Lord. This is what is meant by to test you. Similarly, God tested Abraham is explained in this way, and the evidence for this is what it says here, whether you would keep His commandments or not,implying that the test was to show all nations what was in his heart, whether he would keep His commandments or not.