James wrote to Christians who had been 'dispersed' due to the railings of Saul of Tarsus. These he wrote to were Christian believers and James's use of dead fsaith means non-functioning faith, not erased or gone out of existence faith. A 'dead faith' is a faith that exists but is non-functioning. James goes on in Chapter four of his letter to explain how to activate such non-functioning faith. He never addresses non-existent faith because he is writing to fellow Christian Jews.
Be careful what you call 'nonsense', especially with your so muddled understanding of the way a Jew in the time of James would use the term you are seeing, dead faith'. It does not mean gone from existence, it refers to non-functioning faith so James writes to explain how to active their faith in Christ.
“Your understanding is very shallow. When James wrote his letter it was the first New Testament writing. The Gospels had not even been written yet.”
I think you are confused friend...James is part of the Gospels they had not been combined with other books to make the New Testament (along with the Old Testament) until the late 4th century when the Catholic Church put the true bible together with divine help. If you disagree with this, then you cannot be able to believe that the bible is divinely inspired. It doesn’t work...