Exodus 23:9

9 You shall not oppress a resident alien; you know the heart of an alien, for you were aliens in the land of Egypt.

Exodus 23:9 In-Context

7 Keep far from a false charge, and do not kill the innocent and those in the right, for I will not acquit the guilty.
8 You shall take no bribe, for a bribe blinds the officials, and subverts the cause of those who are in the right.
9 You shall not oppress a resident alien; you know the heart of an alien, for you were aliens in the land of Egypt.
10 For six years you shall sow your land and gather in its yield;
11 but the seventh year you shall let it rest and lie fallow, so that the poor of your people may eat; and what they leave the wild animals may eat. You shall do the same with your vineyard, and with your olive orchard.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.