This shows the full meaning of the Scripture that says: “Abraham believed God, and God accepted Abraham’s faith, and that faith made him right with God.” And Abraham was called God’s friend.
Another example is Rahab, a prostitute, who was made right with God by something she did. She welcomed the spies into her home and helped them escape by a different road.