As usual, James is explained away with the old “they weren’t really saved anyway” argument.
And by the way - it’s bad enough to have to wade through haughty posts. It’s worse when they’re overly long and almost entirely bolded besides.
Good works are the result of our salvation; not the cause of it.
James says a faith without good works is not a true faith since true faith brings with it the fruit of the indwelling Holy Spirit.
Was that easier for you to understand? All one color and much shorter.
8For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, 9 not a result of works, so that no one may boast. 10For we are his workmanship, created in Christ Jesus for good works, which God prepared beforehand, that we should walk in them.
7Know then that it is those of faith who are the sons of Abraham. 8And the Scripture, foreseeing that God would justify the Gentiles by faith, preached the gospel beforehand to Abraham, saying, "In you shall all the nations be blessed." 9So then, those who are of faith are blessed along with Abraham, the man of faith.
There are whole chapters of Scripture that explains and clearly states that salvation is thorough faith alone, apart from good works.
Here are more passages.
Romans 4:1-25 1What then shall we say was gained by Abraham, our forefather according to the flesh? 2For if Abraham was justified by works, he has something to boast about, but not before God. 3For what does the Scripture say? "Abraham believed God, and it was counted to him as righteousness." 4Now to the one who works, his wages are not counted as a gift but as his due. 5And to the one who does not work but believes in him who justifies the ungodly, his faith is counted as righteousness, 6just as David also speaks of the blessing of the one to whom God counts righteousness apart from works: 7 "Blessed are those whose lawless deeds are forgiven, and whose sins are covered; 8blessed is the man against whom the Lord will not count his sin."
9Is this blessing then only for the circumcised, or also for the uncircumcised? We say that faith was counted to Abraham as righteousness. 10How then was it counted to him? Was it before or after he had been circumcised? It was not after, but before he was circumcised. 11 He received the sign of circumcision as a seal of the righteousness that he had by faith while he was still uncircumcised. The purpose was to make him the father of all who believe without being circumcised, so that righteousness would be counted to them as well, 12and to make him the father of the circumcised who are not merely circumcised but who also walk in the footsteps of the faith that our father Abraham had before he was circumcised.
13For the promise to Abraham and his offspring that he would be heir of the world did not come through the law but through the righteousness of faith. 14 For if it is the adherents of the law who are to be the heirs, faith is null and the promise is void. 15For the law brings wrath, but where there is no law there is no transgression.
16That is why it depends on faith, in order that the promise may rest on grace and be guaranteed to all his offspringnot only to the adherent of the law but also to the one who shares the faith of Abraham, who is the father of us all, 17as it is written, "I have made you the father of many nations"in the presence of the God in whom he believed, who gives life to the dead and calls into existence the things that do not exist. 18In hope he believed against hope, that he should become the father of many nations, as he had been told, "So shall your offspring be."
19He did not weaken in faith when he considered his own body, which was as good as dead ( since he was about a hundred years old), or when he considered the barrenness of Sarahs womb. 20No distrust made him waver concerning the promise of God, but he grew strong in his faith as he gave glory to God, 21fully convinced that God was able to do what he had promised. 22That is why his faith was "counted to him as righteousness." 23But the words "it was counted to him" were not written for his sake alone, 24but for ours also. It will be counted to us who believe in him who raised from the dead Jesus our Lord, 25 who was delivered up for our trespasses and raised for our justification.