What does Deuteronomy 25:18 mean?
Remember, you were slaves in Egypt, and the Lord your God rescued you. That's why I'm telling you to do this. Deuteronomy 25:18 - Modern Text Bible
(Their own history of suffering should motivate them to treat others with compassion and fairness.)