Many get confused with what the Scripture says when Paul writes “By grace you are saved, through faith and this is not by works so that no one may boast” then they read James where he speaks of “Faith without works is dead” and things like “You see that a person is considered righteous by what they do and not by faith alone.
So people get the wrong idea that James is saying we can be saved by doing good things. No, James is saying that a mere belief in Christ that is not followed by obedience and living for him is not faith that saves anyone.
Metaphor/Analogy- I suppose in human terms we can use a few, 1.) A man prays for a job and is sure he can land a job at a certain place- and boasts of how he can get the job and secure it. Yet he sits on his couch and wont go there to fill out and application or give his resume. (Who does that on a very mundane ordinary life scenario)
Or suppose a young man has interest in a young woman and believes she likes him but chickens out and never goes out of his way to talk to her or pursue this interest.
We see how this does not make since in ordinary day to day life so then why do we assume that it works in Biblical terms of faith? Faith has actions that spring out of it. Faith moves to action. True salvation faith produces real change.