Probably a bit late but I believe that even though breaking a vow is a sin, a vow made out of foolishness can be withdrawn as long as you take the necessary steps to repent and to be wiser in the future
"(
Lev 5:4-5)(NASB) says, "or if a person swears (makes a vow) thoughtlessly with his lips to do evil or to do good, in whatever matter a man may speak thoughtlessly with an oath, and it is hidden from him (he doesn't realize it), and then he comes to know it, he will be guilty in one of these. (5) So it shall be that when he becomes guilty in one of these, that he shall confess that in which he has sinned." The following verses go on to describe the sacrifices that had to be made in addition to the confession. (Verse 10) then says, "So the priest shall make atonement on his behalf for his sin which he has committed, and it will be forgiven him." It should be noted here that the High Priest in the Old Testament pointed to Jesus who is now our High Priest and who has made atonement for our sins through His shed blood on the cross (See:
Forgiveness ONLY Through The Blood Of Jesus)"
Also in certain verses Jesus discourages making vows to god altogether:
James 5:12: But above all, my brothers, do not swear, either by heaven or by earth or by any other oath, but let your “yes” be yes and your “no” be no, so that you may not fall under condemnation.
Matthew 5:33-37: “Again you have heard that it was said to those of old, ‘You shall not swear falsely, but shall perform to the Lord what you have sworn.’ But I say to you, Do not take an oath at all, either by heaven, for it is the throne of God, or by the earth, for it is his footstool, or by Jerusalem, for it is the city of the great King. And do not take an oath by your head, for you cannot make one hair white or black. Let what you say be simply ‘Yes’ or ‘No’; anything more than this comes from evil.
Also as stated by the user above you should think about if you are asking or provoking God before doing something as trying to force God's hand is highly discouraged to say the least.