Leviticus 5:4

4 or if anyone thoughtlessly takes an oath to do anything, whether good or evil (in any matter one might carelessly swear about) even though they are unaware of it, but then they learn of it and realize their guilt—

Leviticus 5:4 in Other Translations

KJV
4 Or if a soul swear, pronouncing with his lips to do evil, or to do good, whatsoever it be that a man shall pronounce with an oath, and it be hid from him; when he knoweth of it, then he shall be guilty in one of these.
ESV
4 or if anyone utters with his lips a rash oath to do evil or to do good, any sort of rash oath that people swear, and it is hidden from him, when he comes to know it, and he realizes his guilt in any of these;
NLT
4 “Or suppose you make a foolish vow of any kind, whether its purpose is for good or for bad. When you realize its foolishness, you must admit your guilt.
MSG
4 "Or if you impulsively swear to do something, whether good or bad - some rash oath that just pops out - and you aren't aware of what you've done at the time, but later you come to realize it and you're guilty in any of these cases;
CSB
4 Or [if] someone swears rashly to do what is good or evil-concerning anything a person may speak rashly in an oath-without being aware of it, but [later] recognizes it, he incurs guilt in such an instance.

Leviticus 5:4 In-Context

2 “ ‘If anyone becomes aware that they are guilty—if they unwittingly touch anything ceremonially unclean (whether the carcass of an unclean animal, wild or domestic, or of any unclean creature that moves along the ground) and they are unaware that they have become unclean, but then they come to realize their guilt;
3 or if they touch human uncleanness (anything that would make them unclean) even though they are unaware of it, but then they learn of it and realize their guilt;
4 or if anyone thoughtlessly takes an oath to do anything, whether good or evil (in any matter one might carelessly swear about) even though they are unaware of it, but then they learn of it and realize their guilt—
5 when anyone becomes aware that they are guilty in any of these matters, they must confess in what way they have sinned.
6 As a penalty for the sin they have committed, they must bring to the LORD a female lamb or goat from the flock as a sin offering ; and the priest shall make atonement for them for their sin.

Cross References 2

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.