The law here appears harmoniously to supplement the earlier one in Exodus 21:1-6. It was another check applied periodically to the tyranny of the rich. Compare Jeremiah 34:8-17.
Related Commentaries of Leviticus 25:39
Leviticus 25:39-40
39 And if thy brother that dwelleth by thee be waxen poor, and be sold unto thee; thou shalt not compele him to serve as a bondservant:
40 But as an hired servant, and as a sojourner, he shall be with thee, and shall serve thee unto the year of jubile: