Don't make unwarranted assumptions.
1 John 3:4 " Everyone who sins breaks the law; in fact, sin is lawlessness." Nothing there about the ten commandments.
It's not about what or how I was taught, but rather about the plain text of Scripture. I know how to read. ;)