Are works of the law the same as works of faith? And if not, then what's the difference?
For what saith the scripture? Abraham believed God, and it was counted unto him for righteousness. [4] Now to him that worketh is the reward not reckoned of grace, but of debt. [5] But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. [6] Even as David also describeth the blessedness of the man, unto whom God imputeth righteousness without works, [7] Saying , Blessed are they whose iniquities are forgiven, and whose sins are covered. [8] Blessed is the man to whom the Lord will not impute sin. [9] Cometh this blessedness then upon the circumcision only , or upon the uncircumcision also? for we say that faith was reckoned to Abraham for righteousness. [10] How was it then reckoned? when he was in circumcision, or in uncircumcision? Not in circumcision, but in uncircumcision. [11] And he received the sign of circumcision, a seal of the righteousness of the faith which he had yet being uncircumcised: that he might be the father of all them that believe, though they be not circumcised; that righteousness might be imputed unto them also: [12] And the father of circumcision to them who are not of the circumcision only, but who also walk in the steps of that faith of our father Abraham, which he had being yet uncircumcised. [13] For the promise, that he should be the heir of the world, was not to Abraham, or to his seed, through the law, but through the righteousness of faith. [14] For if they which are of the law be heirs, faith is made void, and the promise made of none effect: [15] Because the law worketh wrath: for where no law is, there is no transgression. [16] Therefore it is of faith, that it might be by grace; to the end the promise might be sure to all the seed; not to that only which is of the law, but to that also which is of the faith of Abraham; who is the father of us all, [17] (As it is written, I have made thee a father of many nations,) before him whom he believed, even God, who quickeneth the dead, and calleth those things which be not as though they were.
Galatians 3:1-10 KJV
O foolish Galatians, who hath bewitched you, that ye should not obey the truth, before whose eyes Jesus Christ hath been evidently set forth, crucified among you? [2] This only would I learn of you, Received ye the Spirit by the works of the law, or by the hearing of faith? [3] Are ye so foolish? having begun in the Spirit, are ye now made perfect by the flesh? [4] Have ye suffered so many things in vain? if it be yet in vain. [5] He therefore that ministereth to you the Spirit, and worketh miracles among you, doeth he it by the works of the law, or by the hearing of faith? [6] Even as Abraham believed God, and it was accounted to him for righteousness. [7] Know ye therefore that they which are of faith, the same are the children of Abraham. [8] And the scripture, foreseeing that God would justify the heathen through faith, preached before the gospel unto Abraham, saying , In thee shall all nations be blessed. [9] So then they which be of faith are blessed with faithful Abraham. [10] For as many as are of the works of the law are under the curse: for it is written, Cursed is every one that continueth not in all things which are written in the book of the law to do them.