וְשָׂמַחְתָּ֞ לִפְנֵ֣י ׀ יְהוָ֣ה אֱלֹהֶ֗יךָ אַתָּ֨ה וּבִנְךָ֣ וּבִתֶּךָ֮ וְעַבְדְּךָ֣ וַאֲמָתֶךָ֒ וְהַלֵּוִי֙ אֲשֶׁ֣ר בִּשְׁעָרֶ֔יךָ וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָאַלְמָנָ֖ה אֲשֶׁ֣ר בְּקִרְבֶּ֑ךָ בַּמָּק֗וֹם אֲשֶׁ֤ר יִבְחַר֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לְשַׁכֵּ֥ן שְׁמ֖וֹ שָֽׁם׃
Et tu te réjouiras en présence de l’Éternel, ton Dieu, toi, ton fils et ta fille, ton esclave et ta servante, le Lévite qui sera dans tes murs, l’étranger, l’orphelin et la veuve qui seront près de toi, dans l’enceinte que l’Éternel, ton Dieu, aura choisie pour y faire habiter son nom.
Ibn Ezra
you must remember that you were a slave… follows from the earlier mention of “…your man-servant and your maid-servant” [: 11].