Vayikra25:39

וְכִי־יָמוּךְ אָחִיךָ עִמָּךְ וְנִמְכַּר־לָךְ לֹא־תַעֲבֹד בּוֹ עֲבֹדַת עָבֶד׃

And if your brother becomes poor beside you and sells himself to you, you shall not make him work the work of a slave.

Vayikra 25:39

וְכִי־יָמוּךְ אָחִיךָ עִמָּךְ

Vayikra / Leviticus 25:39 · Remez

Vayikra 25:39

וְכִי־יָמוּךְ אָחִיךָ עִמָּךְ וְנִמְכַּר־לָךְ לֹא־תַעֲבֹד בּוֹ עֲבֹדַת עָבֶד׃

And if your brother becomes poor beside you and sells himself to you, you shall not make him work the work of a slave.

Remez רֶמֶז

The last step

Selling yourself is the very bottom. The Torah speaks of it not at once, but only after the field, the house and the debt. Is there a hint of order in the Torah's words?

Malbim: the word "becomes poor" teaches that a person sells himself only when poor, and only at the very end, after field, house, a loan at interest and his daughter. From here is proof of the words of the Rambam: one may not sell himself to pay a debt. The Talmud: "sells himself to you": not to you, but to a stranger. One who did not grasp the sign ends by selling himself to a stranger.

How Malbim and Talmud, Arakhin explain it

Malbim And if your brother becomes poor beside you and sells himself

What is written, "And if he becomes poor," teaches that a person sells himself only if he became poor. So it was also expounded above on the verse "If your brother becomes poor and sells some of his holding." And they already said in Kiddushin (20a) and Arakhin (30b): how hard is the dust of the shmita! He sells his goods, in the end his fields, in the end his house, in the end he borrows at interest, in the end he sells his daughter, in the end he sells himself. So one should not sell himself except at the very end. And from here is proof of what the Rambam wrote (Laws of Slaves): one may not sell himself to pay his debt.

Talmud, Arakhin And sells himself to you

He did not return: in the end he sells himself, as it says: "If your brother becomes poor beside you and sells himself to you." Not to you, but to a stranger, as it says "to a stranger" (Vayikra / Leviticus 25:47). And not to a righteous convert, but to a resident stranger, as it says: "to a resident stranger."

Takeaway

Malbim is Rabbi Meir Leibush Wisser (1809–1879), a rabbi and commentator on Scripture.
"The dust of the shmita" is what Rabbi Yose bar Chanina in the Talmud calls even small trade in shmita produce (Kiddushin 20a, Arakhin 30b).
"He did not return" is literally "it did not come to his hand" (לֹא בָּאת לְיָדוֹ): he did not grasp the sign and did not mend his ways.
A righteous convert (גֵּר צֶדֶק) is a non-Jew who accepted the Torah, and a resident stranger (גֵּר תּוֹשָׁב) is a non-Jew who renounced idols and lives in the land (Avodah Zarah 64b).
The Rambam is Rabbi Moshe ben Maimon (1138–1204). In the Laws of Slaves (1:1) he writes that a person sells himself only when nothing is left to him, not even clothes.