Exodus 22:20-21

22:20 “Whoever sacrifices to a god other than the Lord alone must be utterly destroyed.

22:21 “You must not wrong a foreigner nor oppress him, for you were foreigners in the land of Egypt.