Read what catholic scholar Thomas Leahy had to say about James 2:24
As is clear from context, this does not mean that genuine faith is insufficient for justification, but that faith unaccompanied by works is not genuine [Thomas W. Leahy, S.J. in Raymond Edward Brown, Joseph A. Fitzmeyer and Roland Edmund Murphy, The Jerome Biblical Commentary, (Englewood Cliffs, N.J.: Prentice-Hall, 1968), in loc.].
I’m not impressed by one line which only seems to appear on Protestant websites. The fact is, if you understand James, that true faith is never alone. So claiming justification by “faith alone” is nonsense.
Please keep in mind that Raymond Brown is a Catholic in name only.