21Was not our father Abraham justified by what he did when he offered his son Isaac on the altar?
22You see that his faith was working with his actions, and his faith was perfected by what he did.
23And the Scripture was fulfilled that says, “Abraham believed God, and it was credited to him as righteousness,” and he was called a friend of God.
24As you can see, a man is justified by his deeds and not by faith alone.
25In the same way, was not even Rahab the prostitute justified by her actions when she welcomed the spies and sent them off on another route?
— James 2:21-25