"Vow, and pay unto the Lord your God: let all that be round about him bring presents unto him that ought to be feared.' Psalm 76:11
Maybe the vow wasn't made out of desperation. You may have made a vow because He blessed you in such an amazing way that it overwhelmed you to the point where you made a vow because of the blessing. Perhaps it was a vow to start giving more, to start serving more, to start praying more, etc.
If you have made a vow for any reason, the question is, "Have you kept it?" Did God do what you asked? Did He come through for you? Did He bless you in abundance? Did He keep His end of the "bargain"? If you have made it and not kept if, that is a serious thing. The Bible says that it is better not to make a vow to God at all than to make one and not keep it. Yes, the vow may cost you. You may not have considered the cost when you made it. It may involve a sacrifice. But you need to do all in your power to keep it. Jephthah made a foolish vow. But keeping it was so important that his daughter made the sacrifice and did not break the vow that wasn't even made by her but her father. You should either keep it, or if it was as foolish as his vow, seek the Lord to be released from it.
Have a great day. Have you made a vow to God? Have you kept it?
For further reading:
Deuteronomy 23:21,22
Judges 11