WatsonOverHere/Summa_Theologica huggingface dataset:
Q: Whether the Goodness of the Will, As Regards the Means, Depends on the Intention of the End?

A: On the contrary,
Augustine says (Confess. ix, 3) that God rewards the intention. But God rewards a thing because it is good. Therefore the goodness of the will depends on the intention of the end.

I answer that,
The intention may stand in a twofold relation to the act of the will; first, as preceding it, secondly as following [*Leonine edn.: 'accompanying'] it. The intention precedes the act of the will causally, when we will something because we intend a certain end. And then the order to the end is considered as the reason of the goodness of the thing willed: for instance, when a man wills to fast for God's sake; because the act of fasting is specifically good from the very fact that it is done for God's sake. Wherefore, since the goodness of the will depends on the goodness of the thing willed, as stated above (AA. 1, 2), it must, of necessity, depend on the intention of the end.

On the other hand, intention follows the act of the will, when it is added to a preceding act of the will; for instance, a man may will to do something, and may afterwards refer it to God. And then the goodness of the previous act of the will does not depend on the subsequent intention, except in so far as that act is repeated with the subsequent intention.

Reply Obj. 1: When the intention is the cause of the act of willing, the order to the end is considered as the reason of the goodness of the object, as stated above.

Reply Obj. 2: The act of the will cannot be said to be good, if an evil intention is the cause of willing. For when a man wills to give an alms for the sake of vainglory, he wills that which is good in itself, under a species of evil; and therefore, as willed by him, it is evil. Wherefore his will is evil. If, however, the intention is subsequent to the act of the will, then the latter may be good: and the intention does not spoil that act of the will which preceded, but that which is repeated.

Reply Obj. 3: As we have already stated (A. 6, ad 1), "evil results from each particular defect, but good from the whole and entire cause." Hence, whether the will tend to what is evil in itself, even under the species of good; or to the good under the species of evil, it will be evil in either case. But in order for the will to be good, it must tend to the good under the species of good; in other words, it must will the good for the sake of the good.
Q: Objection 1: It would seem that the goodness of the will does not depend on the intention of the end. For it has been stated above (A. 2) that the goodness of the will depends on the object alone. But as regards the means, the object of the will is one thing, and the end intended is another. Therefore in such matters the goodness of the will does not depend on the intention of the end.

Obj. 2: Further, to wish to keep God's commandment, belongs to a good will. But this can be referred to an evil end, for instance, to vainglory or covetousness, by willing to obey God for the sake of temporal gain. Therefore the goodness of the will does not depend on the intention of the end.

Obj. 3: Further, just as good and evil diversify the will, so do they diversify the end. But malice of the will does not depend on the malice of the end intended; since a man who wills to steal in order to give alms, has an evil will, although he intends a good end. Therefore neither does the goodness of the will depend on the goodness of the end intended.
Q: Objection 1: It would seem that the degree of goodness in the will depends on the degree of good in the intention. Because on Matt. 12:35, "A good man out of the good treasure of his heart bringeth forth that which is good," a gloss says: "A man does as much good as he intends." But the intention gives goodness not only to the external action, but also to the act of the will, as stated above (A. 7). Therefore the goodness of a man's will is according to the goodness of his intention.

Obj. 2: Further, if you add to the cause, you add to the effect. But the goodness of the intention is the cause of the good will. Therefore a man's will is good, according as his intention is good.

Obj. 3: Further, in evil actions, a man sins in proportion to his intention: for if a man were to throw a stone with a murderous intention, he would be guilty of murder. Therefore, for the same reason, in good actions, the will is good in proportion to the good intended.
Q: Whether the Goodness of the Will Depends on Its Conformity to the Divine Will?

A: On the contrary,
It is written (Matt. 26:39): "Not as I will, but as Thou wilt": which words He said, because "He wishes man to be upright and to tend to God," as Augustine expounds in the Enchiridion [*Enarr. in Ps. 32, serm. i.]. But the rectitude of the will is its goodness. Therefore the goodness of the will depends on its conformity to the Divine will.

I answer that,
As stated above (A. 7), the goodness of the will depends on the intention of the end. Now the last end of the human will is the Sovereign Good, namely, God, as stated above (Q. 1, A. 8; Q. 3, A. 1). Therefore the goodness of the human will requires it to be ordained to the Sovereign Good, that is, to God.

Now this Good is primarily and essentially compared to the Divine will, as its proper object. Again, that which is first in any genus is the measure and rule of all that belongs to that genus. Moreover, everything attains to rectitude and goodness, in so far as it is in accord with its proper measure. Therefore, in order that man's will be good it needs to be conformed to the Divine will.

Reply Obj. 1: The human will cannot be conformed to the will of God so as to equal it, but only so as to imitate it. In like manner human knowledge is conformed to the Divine knowledge, in so far as it knows truth: and human action is conformed to the Divine, in so far as it is becoming to the agent: and this by way of imitation, not by way of equality.

From the above may be gathered the replies to the Second and Third Objections.
Q: Objection 1: It would seem that the goodness of the human will does not depend on its conformity to the Divine will. Because it is impossible for man's will to be conformed to the Divine will; as appears from the word of Isa. 55:9: "As the heavens are exalted above the earth, so are My ways exalted above your ways, and My thoughts above your thoughts." If therefore goodness of the will depended on its conformity to the Divine will, it would follow that it is impossible for man's will to be good. Which is inadmissible.

Obj. 2: Further, just as our wills arise from the Divine will, so does our knowledge flow from the Divine knowledge. But our knowledge does not require to be conformed to God's knowledge; since God knows many things that we know not. Therefore there is no need for our will to be conformed to the Divine will.

Obj. 3: Further, the will is a principle of action. But our action cannot be conformed to God's. Therefore neither can our will be conformed to His.
Q: Objection 1: It would seem that the human will need not always be conformed to the Divine will, as regards the thing willed. For we cannot will what we know not: since the apprehended good is the object of the will. But in many things we know not what God wills. Therefore the human will cannot be conformed to the Divine will as to the thing willed.

Obj. 2: Further, God wills to damn the man whom He foresees about to die in mortal sin. If therefore man were bound to conform his will to the Divine will, in the point of the thing willed, it would follow that a man is bound to will his own damnation. Which is inadmissible.

Obj. 3: Further, no one is bound to will what is against filial piety. But if man were to will what God wills, this would sometimes be contrary to filial piety: for instance, when God wills the death of a father: if his son were to will it also, it would be against filial piety. Therefore man is not bound to conform his will to the Divine will, as to the thing willed.
Q: Whether Goodness or Malice Is First in the Action of the Will, or in the External Action?

A: On the contrary,
Augustine says (Retract. i, 9) that "it is by the will that we sin, and that we behave aright." Therefore moral good and evil are first in the will.

I answer that,
External actions may be said to be good or bad in two ways. First, in regard to their genus, and the circumstances connected with them: thus the giving of alms, if the required conditions be observed, is said to be good. Secondly, a thing is said to be good or evil, from its relation to the end: thus the giving of alms for vainglory is said to be evil. Now, since the end is the will's proper object, it is evident that this aspect of good or evil, which the external action derives from its relation to the end, is to be found first of all in the act of the will, whence it passes to the external action. On the other hand, the goodness or malice which the external action has of itself, on account of its being about due matter and its being attended by due circumstances, is not derived from the will, but rather from the reason. Consequently, if we consider the goodness of the external action, in so far as it comes from reason's ordination and apprehension, it is prior to the goodness of the act of the will: but if we consider it in so far as it is in the execution of the action done, it is subsequent to the goodness of the will, which is its principle.

Reply Obj. 1: The exterior action is the object of the will, inasmuch as it is proposed to the will by the reason, as good apprehended and ordained by the reason: and thus it is prior to the good in the act of the will. But inasmuch as it is found in the execution of the action, it is an effect of the will, and is subsequent to the will.

Reply Obj. 2: The end precedes in the order of intention, but follows in the order of execution.

Reply Obj. 3: A form as received into matter, is subsequent to matter in the order of generation, although it precedes it in the order of nature: but inasmuch as it is in the active cause, it precedes in every way. Now the will is compared to the exterior action, as its efficient cause. Wherefore the goodness of the act of the will, as existing in the active cause, is the form of the exterior action.
Q: Objection 1: It would seem that good and evil are in the external action prior to being in the act of the will. For the will derives goodness from its object, as stated above (Q. 19, AA. 1, 2). But the external action is the object of the interior act of the will: for a man is said to will to commit a theft, or to will to give an alms. Therefore good and evil are in the external action, prior to being in the act of the will.

Obj. 2: Further, the aspect of good belongs first to the end: since what is directed to the end receives the aspect of good from its relation to the end. Now whereas the act of the will cannot be an end, as stated above (Q. 1, A. 1, ad 2), the act of another power can be an end. Therefore good is in the act of some other power prior to being in the act of the will.

Obj. 3: Further, the act of the will stands in a formal relation to the external action, as stated above (Q. 18, A. 6). But that which is formal is subsequent; since form is something added to matter. Therefore good and evil are in the external action, prior to being in the act of the will.
Q: Whether the Whole Goodness and Malice of the External Action Depends on the Goodness of the Will?

A: On the contrary,
Augustine says (Contra Mendac. vii), that "there are some actions which neither a good end nor a good will can make good."

I answer that,
As stated above (A. 1), we may consider a twofold goodness or malice in the external action: one in respect of due matter and circumstances; the other in respect of the order to the end. And that which is in respect of the order to the end, depends entirely on the will: while that which is in respect of due matter or circumstances, depends on the reason: and on this goodness depends the goodness of the will, in so far as the will tends towards it.

Now it must be observed, as was noted above (Q. 19, A. 6, ad 1), that for a thing to be evil, one single defect suffices, whereas, for it to be good simply, it is not enough for it to be good in one point only, it must be good in every respect. If therefore the will be good, both from its proper object and from its end, if follows that the external action is good. But if the will be good from its intention of the end, this is not enough to make the external action good: and if the will be evil either by reason of its intention of the end, or by reason of the act willed, it follows that the external action is evil.

Reply Obj. 1: If the good tree be taken to signify the good will, it must be in so far as the will derives goodness from the act willed and from the end intended.

Reply Obj. 2: A man sins by his will, not only when he wills an evil end; but also when he wills an evil act.

Reply Obj. 3: Voluntariness applies not only to the interior act of the will, but also to external actions, inasmuch as they proceed from the will and the reason. Consequently the difference of good and evil is applicable to both the interior and external act.
Q: Objection 1: It would seem that the whole goodness and malice of the external action depend on the goodness of the will. For it is written (Matt. 7:18): "A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit." But, according to the gloss, the tree signifies the will, and fruit signifies works. Therefore, it is impossible for the interior act of the will to be good, and the external action evil, or vice versa.

Obj. 2: Further, Augustine says (Retract. i, 9) that there is no sin without the will. If therefore there is no sin in the will, there will be none in the external action. And so the whole goodness or malice of the external action depends on the will.

Obj. 3: Further, the good and evil of which we are speaking now are differences of the moral act. Now differences make an essential division in a genus, according to the Philosopher (Metaph. vii, 12). Since therefore an act is moral from being voluntary, it seems that goodness and malice in an act are derived from the will alone.
Q: Objection 1: It would seem that the goodness and malice of the interior act of the will are not the same as those of the external action. For the principle of the interior act is the interior apprehensive or appetitive power of the soul; whereas the principle of the external action is the power that accomplishes the movement. Now where the principles of action are different, the actions themselves are different. Moreover, it is the action which is the subject of goodness or malice: and the same accident cannot be in different subjects. Therefore the goodness of the interior act cannot be the same as that of the external action.

Obj. 2: Further, "A virtue makes that, which has it, good, and renders its action good also" (Ethic. ii, 6). But the intellective virtue in the commanding power is distinct from the moral virtue in the power commanded, as is declared in
Ethic.
i, 13. Therefore the goodness of the interior act, which belongs to the commanding power, is distinct from the goodness of the external action, which belongs to the power commanded.

Obj. 3: Further, the same thing cannot be cause and effect; since nothing is its own cause. But the goodness of the interior act is the cause of the goodness of the external action, or vice versa, as stated above (AA. 1, 2). Therefore it is not the same goodness in each.
Q: Whether the External Action Adds Any Goodness or Malice to That of the Interior Act?

A: On the contrary,
Every agent intends to attain good and avoid evil. If therefore by the external action no further goodness or malice be added, it is to no purpose that he who has a good or an evil will, does a good deed or refrains from an evil deed. Which is unreasonable.

I answer that,
If we speak of the goodness which the external action derives from the will tending to the end, then the external action adds nothing to this goodness, unless it happens that the will in itself is made better in good things, or worse in evil things. This, seemingly, may happen in three ways. First in point of number; if, for instance, a man wishes to do something with a good or an evil end in view, and does not do it then, but afterwards wills and does it, the act of his will is doubled and a double good, or a double evil is the result. Secondly, in point of extension: when, for instance, a man wishes to do something for a good or an evil end, and is hindered by some obstacle, whereas another man perseveres in the movement of the will until he accomplish it in deed; it is evident that the will of the latter is more lasting in good or evil, and in this respect, is better or worse. Thirdly, in point of intensity: for there are certain external actions, which, in so far as they are pleasurable, or painful, are such as naturally to make the will more intense or more remiss; and it is evident that the more intensely the will tends to good or evil, the better or worse it is.

On the other hand, if we speak of the goodness which the external action derives from its matter and due circumstances, thus it stands in relation to the will as its term and end. And in this way it adds to the goodness or malice of the will; because every inclination or movement is perfected by attaining its end or reaching its term. Wherefore the will is not perfect, unless it be such that, given the opportunity, it realizes the operation. But if this prove impossible, as long as the will is perfect, so as to realize the operation if it could; the lack of perfection derived from the external action, is simply involuntary. Now just as the involuntary deserves neither punishment nor reward in the accomplishment of good or evil deeds, so neither does it lessen reward or punishment, if a man through simple involuntariness fail to do good or evil.

Reply Obj. 1: Chrysostom is speaking of the case where a man's will is complete, and does not refrain from the deed save through the impossibility of achievement.

Reply Obj. 2: This argument applies to that goodness which the external action derives from the will as tending to the end. But the goodness which the external action takes from its matter and circumstances, is distinct from that which it derives from the end; but it is not distinct from that which it has from the very act willed, to which it stands in the relation of measure and cause, as stated above (AA. 1, 2).

From this the reply to the Third Objection is evident.
Q: Objection 1: It would seem that the external action does not add any goodness or malice to that of the interior action. For Chrysostom says (Hom. xix in Matt.): "It is the will that is rewarded for doing good, or punished for doing evil." Now works are the witnesses of the will. Therefore God seeks for works not on His own account, in order to know how to judge; but for the sake of others, that all may understand how just He is. But good or evil is to be estimated according to God's judgment rather than according to the judgment of man. Therefore the external action adds no goodness or malice to that of the interior act.

Obj. 2: Further, the goodness and malice of the interior and external acts are one and the same, as stated above (A. 3). But increase is the addition of one thing to another. Therefore the external action does not add to the goodness or malice of the interior act.

Obj. 3: Further, the entire goodness of created things does not add to the Divine Goodness, because it is entirely derived therefrom. But sometimes the entire goodness of the external action is derived from the goodness of the interior act, and sometimes conversely, as stated above (AA. 1, 2). Therefore neither of them adds to the goodness or malice of the other.
Q: Whether the Consequences of the External Action Increase Its Goodness or Malice?

A: On the contrary,
The consequences do not make an action that was evil, to be good; nor one that was good, to be evil. For instance, if a man give an alms to a poor man who makes bad use of the alms by committing a sin, this does not undo the good done by the giver; and, in like manner, if a man bear patiently a wrong done to him, the wrongdoer is not thereby excused. Therefore the consequences of an action doe not increase its goodness or malice.

I answer that,
The consequences of an action are either foreseen or not. If they are foreseen, it is evident that they increase the goodness or malice. For when a man foresees that many evils may follow from his action, and yet does not therefore desist therefrom, this shows his will to be all the more inordinate.

But if the consequences are not foreseen, we must make a distinction. Because if they follow from the nature of the action and in the majority of cases, in this respect, the consequences increase the goodness or malice of that action: for it is evident that an action is specifically better, if better results can follow from it; and specifically worse, if it is of a nature to produce worse results. On the other hand, if the consequences follow by accident and seldom, then they do not increase the goodness or malice of the action: because we do not judge of a thing according to that which belongs to it by accident, but only according to that which belongs to it of itself.

Reply Obj. 1: The virtue of a cause is measured by the effect that flows from the nature of the cause, not by that which results by accident.

Reply Obj. 2: The good actions done by the hearers, result from the preacher's words, as an effect that flows from their very nature. Hence they redound to the merit of the preacher: especially when such is his intention.

Reply Obj. 3: The consequences for which that man is ordered to be punished, both follow from the nature of the cause, and are supposed to be foreseen. For this reason they are reckoned as punishable.

Reply Obj. 4: This argument would prove if irregularity were the result of the fault. But it is not the result of the fault, but of the fact, and of the obstacle to the reception of a sacrament.
Q: Objection 1: It would seem that the consequences of the external action increase its goodness or malice. For the effect pre-exists virtually in its cause. But the consequences result from the action as an effect from its cause. Therefore they pre-exist virtually in actions. Now a thing is judged to be good or bad according to its virtue, since a virtue "makes that which has it to be good" (Ethic. ii, 6). Therefore the consequences increase the goodness or malice of an action.

Obj. 2: Further, the good actions of his hearers are consequences resulting from the words of a preacher. But such goods as these redound to the merit of the preacher, as is evident from Phil. 4:1: "My dearly beloved brethren, my joy and my crown." Therefore the consequences of an action increase its goodness or malice.

Obj. 3: Further, punishment is not increased, unless the fault increases: wherefore it is written (Deut. 25:2): "According to the measure of the sin shall the measure also of the stripes be." But the punishment is increased on account of the consequences; for it is written (Ex. 21:29): "But if the ox was wont to push with his horn yesterday and the day before, and they warned his master, and he did not shut him up, and he shall kill a man or a woman, then the ox shall be stoned, and his owner also shall be put to death." But he would not have been put to death, if the ox, although he had not been shut up, had not killed a man. Therefore the consequences increase the goodness or malice of an action.

Obj. 4: Further, if a man do something which may cause death, by striking, or by sentencing, and if death does not ensue, he does not contract irregularity: but he would if death were to ensue. Therefore the consequence of an action increase its goodness or malice.