Not before God.
Works can only show as EVIDENCE (not proof) before MAN.
Our justification has ZERO to do with works of righteousness which we do.
James knew this. James was rebuking nominal Christians who talk the talk but don't walk the walk, not helping in practical ways and being partial...