Leviticus 27:9

9 “ ‘If what they vowed is an animal that is acceptable as an offering to the LORD, such an animal given to the LORD becomes holy.

Read Leviticus 27:9 Using Other Translations

And if it be a beast, whereof men bring an offering unto the LORD, all that any man giveth of such unto the LORD shall be holy.
"If the vow is an animal that may be offered as an offering to the LORD, all of it that he gives to the LORD is holy.
“If your vow involves giving an animal that is acceptable as an offering to the LORD, any gift to the LORD will be considered holy.