Whether a human action is good or evil from its end?

Objections

Objection 1 : It would seem that the good and evil in human actions are not from the end. For Dionysius says (Div. Nom. iv) that "nothing acts with a view to evil." If therefore an action were good or evil from its end, no action would be evil. Which is clearly false.
Objection 2 : Further, the goodness of an action is something in the action. But the end is an extrinsic cause. Therefore an action is not said to be good or bad according to its end.
Objection 3 : Further, a good action may happen to be ordained to an evil end, as when a man gives an alms from vainglory; and conversely, an evil action may happen to be ordained to a good end, as a theft committed in order to give something to the poor. Therefore an action is not good or evil from its end.