All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
What you mentioned does not apply to a vow or an oath, because a vow does not take place except with absolute words like saying: “I have to offer to Allaah such and such if.....”; similarly, an oath does not take place except with words of an oath, such as swearing by Allaah, or by His Names and Attributes, but being determined to do something, or saying “I’ll do something” and similar expressions that do not render a person under the absolute obligation to do something, then this is neither a vow nor an oath, and a person is not religiously obliged to do anything as a result.