You are ignoring the whole counsel of scripture. You are un-rightly dividing James 2 away from what John says about people who do not practice righteousness.
If you want to discuss what the scripture’s actually say and stay within the topic of the OP, then I will be glad to hear you.
If you want to argue about what James is not saying and then count me out.
I’m discussing faith, and how faith by itself is dead.
Thus also
faith by itself, if it does not have works, is dead.
Faith alone;
actual faith that is from God, by itself if it doesn’t have the action of obedience is dead.
Non existent faith is neither dead or alive, it’s non existent.
I’m talking the about the faith James refers to.
Faith comes to us by hearing God.
When we do what God has spoken to us to do, our faith tha we received from God is activated to accomplish what God intended.
Otherwise if we don’t obey to do what God spoke to us to do, our faith that we received from God is dead; dormant, inactive.
Just like a body without a spirit is dead, faith without the action of obedience is dead.
For as the body without the spirit is dead, so faith without works is dead also. James 2:26
I’m not talking about righteous deeds or good works.
I’m strictly referring to faith; the principle of faith, and how faith requires obedience.
I’m not even referring to salvation. Just the basic principle of faith.
Here is the example I used about the woman with the issue of blood. No salvation or justification involved.
And suddenly, a woman who had a flow of blood for twelve years came from behind and touched the hem of His garment. For she said to herself, “If only I may touch His garment, I shall be made well.” But Jesus turned around, and when He saw her He said, “
Be of good cheer, daughter; your faith has made you well.” And the woman was made well from that hour.
Matthew 9:20-22
Her faith came to her from God inspiring her what to do, even though it violated the law of Moses for a woman who was unclean to touch a Rabbi, she pressed passed her fears and touched the hem of His garment, and the anointing was released into her because of her faith in action, in obedience to God.
This is an example of the obedience of faith.
Just like Abraham, Noah and many others.