Leviticus 26:3
If you follow my precepts and obey my commandments, carrying them out,
Blessings You must not create idols or erect an image, pillar, or carved stone in your land to worship, for I am the Lord, your God.
For it is to me that the Israelites are servants; they are my servants whom I brought out of the land of Egypt. I am the Lord, your God.
If he is redeemed in any of these ways, he shall be released in the Jubilee year, along with his sons.
He shall be with him as a hired servant year by year, and he shall not be treated harshly.
If only a few years remain until the Jubilee year, he will calculate and refund accordingly.
If redeemed when many years remain, he shall be reimbursed from the price paid for him, according to the remaining time.
If he becomes wealthy, he should redeem himself. He shall determine his settlement with his buyer from the time he sold himself until the year of Jubilee, and the price of his sale shall correspond to the number of years. If many years remain, he shall be valued at the rate of a hired servant,