Leviticus 5:4

Or if someone swears thoughtlessly with his lips to do anything good or evil—in whatever matter a man may rashly pronounce an oath—even if he is unaware of it, when he realizes it, he is guilty in the matter.
BSB · Berean Standard Bible
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.
KJV · King James Version
“‘Or if anyone swears rashly with his lips to do evil or to do good—whatever it is that a man might utter rashly with an oath, and it is hidden from him—when he knows of it, then he will be guilty of one of these.
WEB · World English Bible
Or if any one swear rashly with his lips to do evil, or to do good, whatsoever it be that a man shall utter rashly with an oath, and it be hid from him; when he knoweth of it, then he shall be guilty in one of these things.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

to do evil
Leviticus 27:2–34; Joshua 2:14; Joshua 9:15; Judges 9:19; Judges 11:31; Judges 21:7, 18; 1 Samuel 1:11; 1 Samuel 14:24–28; 1 Samuel 24:21, 22; 1 Samuel 25:22; 2 Samuel 21:7; 2 Kings 6:31; Psalm 132:2–5; Ecclesiastes 5:2–6; Ezekiel 17:18, 19; Matthew 14:7, 9; Mark 6:23; Acts 23:12