Once again, the doctrinal effort to become something without doing it, is as believing to become a fisherman without fishing.
God called childless Abram the father of many nations and changed his name to Abraham
before he had any children:
17As it is written: “I have made you a father of many nations.”d He is our father in the presence of God, in whom he believed, the God who gives life to the dead and calls into being what does not yet exist. Romans 4:17
Abraham believed God when he blessed him and made him what he had not yet become. That's why God declared him righteous:
18Against all hope, Abraham in hope believed and so became the father of many nations, just as he had been told, “So shall your offspring be.”e 19Without weakening in his faith, he acknowledged the decrepitness of his body (since he was about a hundred years old) and the lifelessness of Sarah’s womb. 20Yet he did not waver through disbelief in the promise of God, but was strengthened in his faith and gave glory to God, 21being fully persuaded that God was able to do what He had promised. 22This is why “it was credited to him as righteousness.”f Romans 4:18-22
Paul did not say he was declared righteous for what he did,
but rather because of what he believed about his future, all by itself, apart from and without works.
Yes, faith alone is dead.
There is no disagreement about that for what that actually means.
It does not mean you are transformed into a righteous person and declared righteous by faith
and works.
The argument is, you don't need works to be
declared righteous. That happens entirely on the basis of faith, apart from works, as I have shown you - Romans 3:22, Romans 4:6.
So, works are necessary,
but not to make you righteous. They are necessary to validate your faith as being genuine (James 2:18, Genesis 22:12). For surely, Jesus himself will use your works to judge you as being a sheep or a goat (Matthew 25:34-36). And, of course, they are necessary to make your faith productive and to actually be useful, practically speaking, to ourselves and others (James 2:14-16).
The absence of works does not mean you failed to add works to your faith in order to become righteous. Ultimiately, the absence of works means the absence of the faith by which God declares a person righteous and, therefore, eligible for salvation.