James 2:17

17 In the same way, faith by itself, if it is not accompanied by action, is dead.

Read James 2:17 Using Other Translations

Even so faith, if it hath not works, is dead, being alone.
So also faith by itself, if it does not have works, is dead.
So you see, faith by itself isn’t enough. Unless it produces good deeds, it is dead and useless.