Deuteronomy 15:17-19 Complete Jewish Bible (CJB)
17 then take an awl, and pierce his ear through, right into the door; and he will be your slave forever. Do the same with your female slave. 18 Don’t resent it when you set him free, since during his six years of service he has been worth twice as much as a hired employee. Then Adonai your God will bless you in everything you do.
(vii) 19 “All the firstborn males in your herd of cattle and in your flock you are to set aside for Adonai your God; you are not to do any work with a firstborn from your herd or shear a firstborn sheep.