and the Scripture was fulfilled that says, “Abraham believed God, and it was counted to him as righteousness”—and he was called a friend of God.
23 And the Scripture was fulfilled. They who seek to prove from this passage of James that the works of Abraham were imputed for righteousness, must necessarily confess that Scripture is perverted by him; for however they may turn and twist, they can never make the effect to be its own cause. The passage is quoted from Moses.
In this latter part of the chapter, the apostle shows the error of those who rested in a bare profession of the Christian faith, as if that would save them, while the temper of their minds and the tenour of their lives were altogether disagreeable to that holy religion which they professed.
Commenting on James 2:14-26
And the Scripture was fulfilled,.... Gen 15:6 which speaks of Abraham's faith, and the imputation of to him for righteousness; for the above action of Abraham, in offering up his son, was a clear proof of the truth of his faith, there commended: by this it was made known what a strong faith he had in God, and what reason there was to believe that he was a justified person.