Shemot21:2

כִּי תִקְנֶה עֶבֶד עִבְרִי שֵׁשׁ שָׁנִים יַעֲבֹד וּבַשְּׁבִעִת יֵצֵא לַחָפְשִׁי חִנָּם׃

If you buy a Hebrew servant, six years he shall serve, and in the seventh he shall go out free, for nothing.

Shemot 21:2

כִּי תִקְנֶה עֶבֶד

Shemot / Exodus 21:2 · Remez

Shemot 21:2

כִּי תִקְנֶה עֶבֶד עִבְרִי שֵׁשׁ שָׁנִים יַעֲבֹד וּבַשְּׁבִעִת יֵצֵא לַחָפְשִׁי חִנָּם׃

If you buy a Hebrew servant, six years he shall serve, and in the seventh he shall go out free, for nothing.

Remez רֶמֶז

The one who crossed over

Why does the Torah call this servant not "your brother" and not "a son of Israel", but "a Hebrew"? In the word עִבְרִי the commentators hear more than the name of a people.

Kli Yakar: "Hebrew" (עִבְרִי) sounds like "one who transgressed" (עוֹבֵר עֲבֵרָה). The thief crossed a line and went back to the ways of Avraham's forefathers, yet the Torah still calls him a brother. Noam Elimelech hears "wings" (אֵבֶר) in the word: one who serves the Creator rises as on wings.

How Kli Yakar and Noam Elimelech explain it

Kli Yakar Hebrew

Why does it say "Hebrew" and not "your brother" or "Israel"? And so too in the section Re'eh it says: "If your brother, a Hebrew man or a Hebrew woman, is sold to you" (Devarim / Deuteronomy 15:12). Because all the seed of Avraham were "from beyond the river" (מֵעֵבֶר הַנָּהָר), and there "our fathers served other gods of old". And after they came under the wings of the Presence of the Creator (שְׁכִינָה), they were called by the name "Israel". And this sinner, sold for his theft, is called "Hebrew", for he took hold of the ways of Avraham's fathers.

And the word "Hebrew" (עִבְרִי) also fits one who has committed a transgression (עוֹבֵר עֲבֵרָה). And though he sinned and transgressed, he is still your brother. So it says: "your brother, the Hebrew". But of one who sold himself and did not sin it says simply: "If your brother grows poor" (Vayikra / Leviticus 25:39), and it does not say "Hebrew".

Noam Elimelech If you buy a Hebrew servant

"Hebrew" (עִבְרִי) is a word about wings, as it says: "With His pinions (בְּאֶבְרָתוֹ) He will cover you" (Tehillim / Psalms 91:4). For the letter alef (א) interchanges with the letter ayin (ע): these are the letters of the throat (אחה״ע). And the sense is this. "If you buy": if you wish to rise to this level, to be a servant who is "Hebrew", so that you have wings to rise and cleave to the Creator, blessed is He. Then "six years he shall serve": sixty full years you must labour and you have not yet acquired yourself completely. But "in the seventh": when you reach the years after sixty, then you no longer need to labour so much.

Takeaway

"Beyond the river our fathers served other gods of old" are the words of Yehoshua (Joshua) about Avraham's family (Yehoshua / Joshua 24:2). Kli Yakar hears in "Hebrew" (עִבְרִי) the word "beyond, the other side" (עֵבֶר).
Kli Yakar's third reading: "Hebrew" (עִבְרִי) and "transgression" (עֲבֵרָה) share one root, ע־ב־ר, "to cross".
Noam Elimelech links "Hebrew" (עִבְרִי) and "pinion, wing" (אֵבֶר): the letters alef (א) and ayin (ע) are sounded in the throat and replace each other in interpretation.
"Sixty years" for "six years" is Noam Elimelech's own reading. He gives no other source for it.