Read Leviticus 25:40 Using Other Translations
But as an hired servant, and as a sojourner, he shall be with thee, and shall serve thee unto the year of jubile:
he shall be with you as a hired servant and as a sojourner. He shall serve with you until the year of the jubilee.
Treat him instead as a hired worker or as a temporary resident who lives with you, and he will serve you only until the Year of Jubilee.