But if her husband disallows them when he finds out about it, then none of her promises or oaths remain valid and the Lord will release her from keeping them.
He told Eve, “I will make pregnancy much more difficult, and giving birth will be very painful. However, you will still desire your husband, but he will have control over you.”
“On top of that,” the women added, “when we burned incense to the Queen of Heaven and poured out drink offerings to worship her, did we do this without our husbands knowing about it, that we baked cakes stamped with her image and poured out drink offerings to worship her?”
If you foolishly swear to do something (whether good or bad, and in whatever way people impulsively swear an oath), even if you're unaware of it being wrong, when you eventually realize it, you are guilty.
But if her father disallows them as soon as he finds out, then none of her promises or pledges remain valid. The Lord will release her from keeping them because her father has disallowed them.
“Do as you see fit,” her husband Elkanah replied. “Stay here until you have weaned him. May the Lord fulfill what he has said.” So Hannah stayed behind and nursed her son until she had weaned him.