21 Think about our ancestor Abraham. He offered his son Isaac on the altar as a gift to God. Because he did that good thing, God accepted him as right with himself. 22 Abraham believed in God, and he did what God asked him to do. So you can see that both of these were necessary. When he did this good thing, he showed that he believed in God completely. 23 The Bible tells us what happened. It says, ‘Abraham believed God. As a result, God accepted Abraham as right with him.’ God also called Abraham his friend.
24 So you see how God accepts someone as right with himself. That person must not only believe in God. He must also do good things to show that he has faith.
25 It was the same with Rahab, long ago. She was a prostitute. She helped some of God's people who came to her house. She kept them safe from their enemies and she sent them away again by a different road. Because she did those good things, God accepted her as right with himself. 26 If our bodies have no spirit, they are dead. In the same way, if our faith does not lead us to do good things, it is dead.