What does Leviticus 25:47 mean?
If a foreigner living among you gets rich, and one of your own people becomes poor and sells themselves to that foreigner or to a member of the foreigner’s family, Leviticus 25:47 - Modern Text Bible
(This sets up a situation where an Israelite, out of poverty, sells themselves as a servant to a wealthy foreigner living in the land.)