Leviticus 5:17

If a soul will have sinned through ignorance, and will have done one of those things which the law of the Lord prohibits, and, being guilty of sin, understands his iniquity

Other versions

King James Version

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.

English Standard Version

"If anyone sins, doing any of the things that by the LORD's commandments ought not to be done, though he did not know it, then realizes his guilt, he shall bear his iniquity.

New International Version

"If a person sins and does what is forbidden in any of the LORD's commands, even though he does not know it, he is guilty and will be held responsible.