Leviticus 27:32-33
32 The entire tithe of the herd and flock—every tenth animal that passes under the shepherd’s rod—will be holy to the Lord.
33 He must not pick out the good from the bad or make any substitution. If he does make a substitution, both the animal and its substitute become holy and cannot be redeemed.’”