Bad works will not show faith. While Good works will. Good works will automatically show your faith. Meanwhile faith isn't always supported with good works.
I think we are looking at it from different perspectives. I see it as good works shows your faith.
This is what James says ... and I agree.
You see it as faith will bring forth good works.
This is what Paul says ... and I agree.
These two viewpoints do not contradict one another.
The only problem with that is that faith may not necessarily bring forth good works. The dead faith that James speaks of.
True faith in God will always result in good works. False faith (or dead faith ... as James puts it) is good for nothing.
Such false, dead faith is not what is being addressed here.