Deuteronomy 24:18 NIV

18 Remember that you were slaves in Egypt1 and the LORD your God redeemed you from there. That is why I command you to do this.

References for Deuteronomy 24:18