Deuteronomy 24:22

And thou shalt remember that thou wast a bondman in the land of Egypt: therefore I command thee to do this thing.