Remembering where you were brought from intensifies your celebration

And you shall remember that you were a slave in Egypt.
And you shall be careful to observe these statutes.
Deuteronomy 16:12

God wanted them to remember that they once were slaves. Remembering from where we were taken by God helps us be thankful and humble and generous. We are saved unto good works. God redeems us so that we can in turn act redemptively with God. Part of the statutes that it's talking about are remembering to include the tribal priests, the poor, the widows and the orphans. Inclusivity.