Deuteronomy 24:22

22 and thou hast remembered that a servant thou hast been in the land of Egypt; therefore I am commanding thee to do this thing.

Deuteronomy 24:22 Meaning and Commentary

Deuteronomy 24:22

And thou shalt remember that thou wast a bondman in the land
of Egypt
When they would have been glad to have enjoyed the like favours, as small as they might seem to be, even to glean in their fields, vineyards, and oliveyards;

therefore I command thee to do this thing;
to suffer the poor to take the forgotten sheaf, and to come into their oliveyards and vineyards, and gather what olives and grapes remained after the first beating of the one, and the ingathering of the other.

Deuteronomy 24:22 In-Context

20 `When thou beatest thine olive, thou dost not examine the branch behind thee; to the sojourner, to the fatherless, and to the widow, it is.
21 `When thou cuttest thy vineyard, thou dost not glean behind thee; to the sojourner, to the fatherless, and to the widow, it is;
22 and thou hast remembered that a servant thou hast been in the land of Egypt; therefore I am commanding thee to do this thing.
Young's Literal Translation is in the public domain.