Leviticus 5:17
17 y“If anyone sins, doing any of the things that by the Lord’s commandments ought not to be done, zthough he did not know it, then realizes his guilt, he shall bear his iniquity.
James 4:17
17 wSo whoever knows the right thing to do and fails to do it, for him it is sin.
1 John 3:4
4 Everyone who makes a practice of sinning also practices lawlessness; jsin is lawlessness.