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
“‘If it is an animal, of which men offer an offering to Yahweh, all that any man gives of such to Yahweh becomes holy.