Numbers 30:12
But if her husband hath utterly made them void on the day he heard them; then whatsoever proceeded out of her lips concerning her vows, or concerning the bond of her soul, shall not stand: her husband hath made them void; and the LORD shall forgive her.
This text provides one of the only circumstances found in Scripture in which a person can be released from a vow made to God. It belongs to a law governing the relation between a man and his wife, as well as between a father and his daughter while she is yet in her youth in her father's house. Under that law a wife's vow may become void when her husband utterly annuls it on the day he hears it. When he thus completely disallows it, whatever proceeded out of her lips concerning her vows or concerning the bond of her soul does not stand as a binding obligation upon her.
When the husband cancels his wife's vows on the day he hears them, the Lord forgives her. By that same principle, a wife who cooks swine's flesh for her husband at his request is not held guilty merely for doing so at his request.