If we are saved by faith, why does James emphasise good works?

If we are saved by faith, why does James emphasise good works?