(12) And if you do obey these rules and observe them carefully, Adonai your God will maintain faithfully for you the covenant that God made on oath with your fathers:
(1) And it will be, because you will heed Heb. עֵקֶב, lit. heel. If you will heed the minor commandments which one [usually] tramples with his heels [i.e., which a person treats as being of minor importance].
(2) Remember the long way that Adonai your God has made you travel in the wilderness these past forty years, that God might test you by hardships to learn what was in your hearts: whether you would keep God's commandments or not.
(16) Cut away, therefore, the thickening about your hearts and stiffen your necks no more. (17) For Adonai your God is God supreme and Lord supreme, the great, the mighty, and the awesome God, who shows no favor and takes no bribe, (18) but upholds the cause of the fatherless and the widow, and befriends the stranger, providing him with food and clothing.— (19) You too must befriend the stranger, for you were strangers in the land of Egypt.
(א) ואוהב גר לתת לו לחם ושמלה...לפי מה שאחשוב מצד ההשגחה הכוללת שבה נותן לחם לכל בשר ואף על פי שאינו באופן שיתכן שתדבק בו ההשגחה הפרטי':
God does this, I believe, through a general providence, as when God “gives food to all flesh” (Ps. 136:25)—even if the person is one who does not deserve God’s individual attention.
And strangers should stick together. Befriending the stranger means that you must befriend each other as well, having all been strangers. The same applies (e.g.) when the rich are told to be generous to the poor; they might be poor themselves someday