John Gill: "Salvation may be considered, either in the contrivance of it from eternity (the eternal phase) , in the mind and counsel of God; and the designation of persons to it; or in the impetration of it (the legal phase) ; or in the application of it in effectual vocation by the Spirit of God (the vital phrase) ; or in the entire consummate enjoyment of it in heaven. In every of these views (phrases~RB) of it, good works are not necessary to it: Not to the contrivance of it, and designation of persons to it. God when in his infinite wisdom he drew the scheme of salvation in Christ, fixed upon him to be the author of it, and appointed men unto it by him, was not moved hereunto by any works of his creatures, or by any foresight of them; they were then no moving causes with God, no conditions of salvation fixed by him, nor were as the antecedent to the consequent; no, not in the prescience or fore-knowledge of God: As they could not go before, so they were not fore-viewed by God, as any cause, condition, motive, or reason of his choosing one to salvation, and not another; For the children being not yet born, neither having done any good or evil, that the purpose of God according to election might stand, not of works, but of him that calleth. (Rom. 9:11) Good works are the consequents and fruits of election to salvation, not antecedent to it. Nor are they necessary to the impetration or obtaining of it in time by Christ: These did not move Christ to engage in this work, they were no ways assisting to him in it; they did not help it forward, or in the least contribute to the performance of it, which was done entirely and completely without them.
Nor was it effected by him on condition of men's performing good works, nor were they necessary to it, as the antecedent to the consequent; they did not antecede or go before it, no, not in the divine mind or consideration, and in the view of Christ; for men were then considered, not as having done good works, but as evil amid wicked; for while we were yet sinners, Christ died for us, and obtained eternal redemption by his blood; and when we were enemies, we were reconciled to God by the death of his Son. (Rom. 5:8, 10) Good works do not go before, but follow after redeeming grace: Christ gave himself for his people, that he might redeem them from all iniquity, and purify unto himself a peculiar people, zealous of good works. (Titus 2:14)
Nor are they necessary to time application of salvation by the Spirit of God in effectual calling, neither as causes or conditions, or as the antecedent to the consequent; they can be no moving causes to it, nor do they come into consideration in the divine mind, as the reason or condition of it; they are not the rule and measure of God's procedure in this affair; he saves and calls with an holy calling, not according to our works, but according to his own purpose and grace. (2 Tim. 1:9) Besides, before regeneration, before effectual vocation, before a principle of grace is wrought in the soul, before the new-creation-work is formed, which is the initial part of salvation, or that branch of it which God's elect are first actually made partakers of in their own persons, there are properly speaking no good works done by them, or can be done by them; and therefore cannot possibly be antecedent to salvation viewed in this light, but must be consequent to it: We are his workmanship, created in Christ Jesus unto good works. (Eph. 2:10) Nor, lastly, are they necessary to the consummate enjoyment of salvation in heaven, no, not as the antecedent to the consequent; that is, as an antecedent cause to a consequent effect, which is the easy, common and natural sense of the phrase; for who can hear of an antecedent to a consequent, unless by way of illation, but must at once conceive of that consequent as an effect depending upon the antecedent as a cause? Wherefore if good works are antecedent to glorification as a consequent, then glorification must be, and will be considered as an effect depending upon good works as its cause."