Leviticus 25:39

New American Standard Bible (NASB)
‘If a [z]countryman of yours becomes so poor with regard to you that he sells himself to you, you shall not subject him to a slave’s service.

Read Leviticus 25:39 in other translations