Leviticus 5:4 NIV

4 " 'Or if a person thoughtlessly takes an oath1 to do anything, whether good or evil2--in any matter one might carelessly swear about--even though he is unaware of it, in any case when he learns of it he will be guilty.

References for Leviticus 5:4