In context
20Are you willing to learn, you foolish person, that faith without works is useless? 21Was not Abraham our father justified by works when he offered his son Isaac on the altar? 22You see that faith worked together with his works, and by his works faith was made perfect. 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. 24You see that a person is justified by works, and not by faith alone.
