Leviticus 25:39

Amplified Bible (AMP)
‘And if your fellow countryman becomes so poor [in his dealings] with you that he sells himself to you [as payment for a debt], you shall not let him do the work of a slave [who is ineligible for redemption],

Read Leviticus 25:39 in other translations