Deuteronomy 24:18 in the King James Version
But thou shalt remember that thou wast a bondman in Egypt, and the LORD thy God redeemed thee thence: therefore I command thee to do this thing.
Context
17 You shall not deprive the foreigner or the fatherless of justice, nor take a widow’s clothing in pledge;
18 but you shall remember that you were a slave in Egypt, and the LORD your God redeemed you there. Therefore I command you to do this thing.
19 When you reap your harvest in your field, and have forgotten a sheaf in the field, you shall not go again to get it. It shall be for the foreigner, for the fatherless, and for the widow, that the LORD your God may bless you in all the work of your hands.