Exodus 23:9 in the King James Version
Also thou shalt not oppress a stranger: for ye know the heart of a stranger, seeing ye were strangers in the land of Egypt.
Context
8 “You shall take no bribe, for a bribe blinds those who have sight and perverts the words of the righteous.
9 “You shall not oppress an alien, for you know the heart of an alien, since you were aliens in the land of Egypt.
10 “For six years you shall sow your land, and shall gather in its increase,