24 You see that a person is considered righteous by what they do and not by faith alone.

Read James 2:24 Using Other Translations

Ye see then how that by works a man is justified, and not by faith only.
You see that a person is justified by works and not by faith alone.
So you see, we are shown to be right with God by what we do, not by faith alone.