James 2:20–24, Faith without works is dead. James is here referring to the works of faith, not the works of the law. No man can live a good enough life to be saved by his Torah-obedience or the works of the law (Rom 3:20, 28; Gal 2:16; 3:11).
However, faith in Elohim is more than just mental ascent—“a knowing in your heart.” It has to be backed up by action (and we’re not talking about the works of the law). For example, when Elohim told Abraham to leave Babylon or to sacrifice Isaac, he obeyed by leaving that country and moving to Canaan. Moreover, many were healed in Yeshua’s ministry because they had faith in the Master and backed that faith up with corresponding action, which was the evidence of their faith.
This faith-action continuum had nothing to do with Torah-obedience per se, but had everything to do with “putting your money where your mouth is” by backing up your faith or belief with action. It is this kind of faith that James is talking about here, and this in no wise contradicts the teachings of Paul who said that no man is justified by the works of the law.
When Paul declares in Ephesians 2:8–9, “For by grace you are saved through faith, and that not of yourselves; it is the gift of Elohim, not of works…,” he was correct and not opposed to James. What’s more, Paul goes on to say in verse 10, “For we are [Elohim’s] workmanship, created in Messiah Yeshua for good works…that we should walk in them.” These good works (i.e. obedience to the Torah) are the fruits, evidence or proof of our salvation and are the works that back up our faith.
So, in summary, the Bible teaches that we need the faith (a heart that believes and wants to obey Elohim) to lead us to salvation, as well as the works of faith after we have received Elohim’s free gift of salvation as evidence that we are saved. This fact in no way contravenes the reality of salvation by grace through trusting belief in Yeshua the Messiah, which is apart from the works of the Torah-law.