Context: James is one of the most practical and ethically demanding letters in the NT, written by James, the Lord's brother and leader of the Jerusalem Church (~45–49 AD) — possibly one of the oldest NT writings alongside 1 Thessalonians. Martin Luther called it "an epistle of straw" for apparently contradicting justification by faith alone — but the tension is resolved when one recognizes that James addresses a dead faith vs. Paul addresses a living faith that naturally produces works.
The great themes: Joy and perseverance in trials (ch. 1); absolute impartiality regarding rich and poor in the assembly — "do not hold the faith of our Lord Jesus Christ with partiality" (ch. 2); the tongue as a fire that destroys (ch. 3 — "no human being can tame the tongue"); humility against worldly pride and wisdom from above vs. earthly wisdom (ch. 4); a devastating warning to the rich who oppress workers (5:1–6); perseverance, prayer, and healing of the sick by the elders (5:13–18).
"Faith without works is dead" (2:14–26): James uses Abraham (belief + action in offering Isaac) and Rahab (belief + action in hiding the spies) as examples of faith that manifests in concrete conduct. The text does not contradict Paul — it complements: the faith that justifies is a living faith that inevitably translates into works of love.