James answers that Saving Faith produces works, as does Paul in Eph 2:10.
NOWHERE does James or Paul suggest that the works produced by Saving Faith will be works of the Law.
The works produced by Saving Faith will in fact be works of the Holy Spirit.
I think Paul is refuting the works of the Mosaic Law in Galatians.
But before faith came, we were kept under the law, shut up unto the faith which should afterward be revealed. Gal.3:23