"44 Both thy bondmen, and thy bondmaids, which thou shalt have, shall be of the heathen that are round about you; of them shall ye buy bondmen and bondmaids. 45 Moreover of the children of the strangers that do sojourn among you, of them shall ye buy, and of their families that are with you, which they begat in your land: and they shall be your possession. 46 And ye shall take them as an inheritance for your children after you, to inherit them for a possession; they shall be your bondmen for ever: but over your brethren the children of Israel, ye shall not rule one over another with rigour. 47 And if a sojourner or stranger wax rich by thee, and thy brother that dwelleth by him wax poor, and sell himself unto the stranger or sojourner by thee, or to the stock of the stranger’s family: 48 After that he is sold he may be redeemed again; one of his brethren may redeem him: 49 Either his uncle, or his uncle’s son, may redeem him, or any that is nigh of kin unto him of his family may redeem him; or if he be able, he may redeem himself. 50 And he shall reckon with him that bought him from the year that he was sold to him unto the year of jubile: and the price of his sale shall be according unto the number of years, according to the time of an hired servant shall it be with him. 51 If there be yet many years behind, according unto them he shall give again the price of his redemption out of the money that he was bought for. 52 And if there remain but few years unto the year of jubile, then he shall count with him, and according unto his years shall he give him again the price of his redemption. 53 And as a yearly hired servant shall he be with him: and the other shall not rule with rigour over him in thy sight. 54 And if he be not redeemed in these years, then he shall go out in the year of jubile, both he, and his children with him. 55 For unto me the children of Israel are servants; they are my servants whom I brought forth out of the land of Egypt: I am the LORD your God." — Leviticus 25:44-55 KJV.

NON-HEBREW SERVANTS, 44-46.
44. Of the heathen… shall ye buy bondmen — Literally, man-servants and maid-servants. The “shall” is not mandatory but permissive. “Such purchase and adoption into Hebrew families was an appointed redemption from a worse state. There could not, consequently, be any sentiment of injustice, under this revealed will of God, in regard to the purchase from heathen masters of servants possessed by them as slaves, and treated as such, since they were brought from an irresponsible, unlimited slavery into a system of guardianship, protection, religious instruction, and family and national privileges. The children of such would be circumcised, adopted, and become sons of the house. In no other way than by purchase could the Hebrews redeem them, even if they had started on the emancipation of the nations. "If they had been forbidden to buy, and had been restricted to hired servants of their own race alone, they could not have gotten possession of heathen slaves, even to redeem them, except as runaways; and thus multitudes would have been kept in heathen bondage, who, the moment they passed into Hebrew bondage, passed into a state of comparative freedom.” — Dr. Cheever. The Hebrew construction of these words is not “ye shall purchase of the nations,” but of the servants that have come to you from among those nations. A slave-market was never known in Palestine, nor a slave-trader. Heathen… round about — These words exclude the Canaanite tribes in the land, who had been doomed to complete extermination. Deuteronomy 20:16-19. But since this sentence was not executed, the remnants were subjected to compulsory service. Judges 1:28, 30, note.