Deuteronomy 23:18
23:18 You must never bring the pay of a female prostitute or the wage of a male prostitute into the temple of the Lord your God in fulfillment of any vow, for both of these are abhorrent to the Lord your God.
Malachi 1:14
1:14 “There will be harsh condemnation for the hypocrite who has a valuable male animal in his flock but vows and sacrifices something inferior to the Lord. For I am a great king,” says the Lord who rules over all, “and my name is awesome among the nations.”