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
Similarly, it was certainly [RHQ] because of what Rahab did, that God considered her to be a righteous, obedient person. Rahab was previously a prostitute, but she cared for the Israelite men who came to ◄spy out the land/see what that area was like► and she helped them to escape by sending them home on a different road from the one that they came on.Jos 2:1; Heb 11:31