Leviticus 25:47

If a foreigner residing among you prospers, but your countryman dwelling near him becomes destitute and sells himself to the foreigner or to a member of his clan,
BSB · Berean Standard Bible
And if a sojourner or stranger wax rich by thee, and thy brother that dwelleth by him wax poor, and sell himself unto the stranger or sojourner by thee, or to the stock of the stranger’s family:

Note wax rich…: Heb. his hand obtain, etc

KJV · King James Version
“‘If an alien or temporary resident with you becomes rich, and your brother beside him has grown poor, and sells himself to the stranger or foreigner living among you, or to a member of the stranger’s family,
WEB · World English Bible
And if a stranger or sojourner with thee be waxed rich, and thy brother be waxed poor beside him, and sell himself unto the stranger or sojourner with thee, or to the stock of the stranger’s family;
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

sojourner or stranger wax rich
Heb. the hand of a stranger,etc. obtain, etc.
Leviticus 25:26; 1 Samuel 2:7, 8; James 2:5