Leviticus 5:17

If someone sins and violates any of the Lord’s commandments even though he was unaware, he is guilty and shall bear his punishment.
BSB · Berean Standard Bible
And if a soul sin, and commit any of these things which are forbidden to be done by the commandments of the Lord; though he wist it not, yet is he guilty, and shall bear his iniquity.
KJV · King James Version
“If anyone sins, doing any of the things which the Lord has commanded not to be done, though he didn’t know it, he is still guilty, and shall bear his iniquity.
WEB · World English Bible
And if any one sin, and do any of the things which Jehovah hath commanded not to be done; though he knew it not, yet is he guilty, and shall bear his iniquity.
ASV · American Standard Version

Related passages

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

a soul sin
This case is supposed to differ from the preceding, merely in that the person concerned was not certain whether he had or had not committed the trespass. It is therefore called by the Hebrews a doubtful trespass offering.
Leviticus 5:1; Leviticus 4:2–4, 13, 22, 27
though
Leviticus 5:15; Psalm 19:12; Luke 12:48; Romans 14:23
yet is he
Leviticus 5:1, 2; Leviticus 4:2, 13, 27