Jas James, chapter Epistle of James, chapter 2
But someone may claim that some people are saved because they trust in God and other people are saved because they do good things for others. In answer to that, the inadequacy of faith without good deeds is demonstrated by the example of demons. From the examples of Abraham and Rahab we can see that only by obeying God and doing good things for others can people prove that they truly trust in God.
James 2:18-26
And so it happened as it is written in the Scriptures: “Because Abraham truly trusted in God, he was considered by God to be {God considered that he was} righteous.” And God also said about Abraham, “He is my friend.” Gen 15:6; 2Ch 20:7; Isa 41:8; Rom 4:3; Gal 3:6