James 4:17 doesn’t prove you can sin without violating a command? It sure seems that it does to me.
That's because YOU are equating 'right thing' to NOT being a command.James 4:17
Therefore, to one who knows the right thing to do and does not do it, to him it is sin.