Leviticus 25:47
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: 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:
Leviticus 25:47 stands among practical laws governing duties toward one another, laws that make provision for the poor while teaching that the land belongs to God and not to man. In that same setting the seventh or sabbatical year left what grew of itself open to the poor and to strangers, and even to livestock. The jubilee belonging to this system likewise teaches liberality and thoughtful care for those in need.
The verse itself sets out the case of a Hebrew dwelling nearby who becomes poor and sells himself as a bondservant to a sojourner or stranger grown rich beside him, or to the stock of the stranger's family. For such a bondservant redemption was laid as a duty upon his nearest of kin, and the law made parallel provision for redeeming the Hebrew's lost inheritance. That kinsman-redemption illustrates Christ's work, in that He became man's kinsman in order to redeem humanity and to recover the inheritance forfeited through sin.