Дварим 24:22 Комментарий: Ibn Ezra & Sforno

וְזָ֣כַרְתָּ֔ כִּי־עֶ֥בֶד הָיִ֖יתָ בְּאֶ֣רֶץ מִצְרָ֑יִם עַל־כֵּ֞ן אָנֹכִ֤י מְצַוְּךָ֙ לַעֲשׂ֔וֹת אֶת־הַדָּבָ֖ר הַזֶּֽה׃ (ס)

И помни, что ты был рабом в земле Египетской; поэтому я приказываю тебе сделать это.

Ibn Ezra

The concept of remember that you were a slave is associated with the concept of being an “alien” [: 21].

Sforno

וזכרת כי עבד היית, and at that time you were in need of even unripe grapes.