Cursed be the cheat who has a male in his flock, and vows it, and yet sacrifices to the Lord what is blemished. For I am a great King, says YHWH of hosts, and my name will be feared among the nations.
Malachi 1:14
To leave a vow to God unfulfilled is to invite a curse upon yourself.