Then when he says, now the end, he shows what should be kept of the law. In regard to this he does two things: first, he proves this; second, that there is a danger for those who do not hold this, at from which things.
In regard to the first it should be noted that the old law is called the law of the commandments, because it is hemmed in by commandments and precepts: making void the law of commandments contained in decrees (Eph 2:15). What is to be especially retained, therefore, is that toward which all the commandments of the law are ordained, namely, charity: you shall love the Lord your ...God with your whole heart and with your whole soul and with your whole mind (Matt 22:37), to which is added: on these two commandments depends the whole law and the prophets (Matt 22:40).
But how is charity the end of the commandment? To answer this, two things must be considered: that all the precepts of the law are concerned with acts of the virtues, and that through the acts of the virtues one man is ordained to another; because whenever one of our powers is concerned with an end, all other similar powers are ordained to it as to an end. For example, the art of making bridles is ordained to the art of riding, which is its end; and this is ordained to the leader of the cavalry.
Now the theological virtues have the ultimate end as their object, all the other virtues being concerned with the means to the end. Therefore, all other virtues look to the theological virtues as to an end. But among the theological virtues the one which is closest to the ultimate end has the nature of an end more than the other ones. Now faith points out the ultimate end, and hope makes one tend toward it; but charity unites one to it. Therefore, all are ordained to charity. And that is why charity is the end of the commandments.
But since the means dispose to the end, and the precepts are ordained to charity; therefore, they dispose to it. Hence he says, from a pure heart. For the precepts of the virtues aim at forming a pure heart: some of these virtues are ordained to moderating the passions properly, namely, those virtues whose matter is the passions, i.e., temperance, which moderates concupiscence; meekness, which moderates anger; and fortitude, which moderates fears and boldnesses. But these passions would disturb purity of heart; consequently, the virtues aim at purifying the heart.
But is a pure heart required for charity? The answer is yes; for it is impossible for an impure heart to be prompt in regard to charity: because a thing loves that which is in conformity with it. But an impure heart loves that which conforms to it among the passions. Therefore, it needs to be freed of the passions: the righteous love you (Song 1:3).
Some virtues set man straight in relation to his neighbor, and it is from this that he has a good conscience, because he does not do to others what he does not want done to himself: all things whatsoever you would that men should do to you, do you also to them (Matt 7:12). Consequently, whatever is against one's neighbor is against conscience; hence he says, and a good conscience. Consequently, one who does not have a good conscience cannot love God in a pure manner, because one who does not have a good conscience fears punishment. But fear cannot co-exist with love, for it flees from God rather than joins one to him. Consequently, the commandments which rectify one's conscience dispose one well for charity.
Other virtues set a man straight in regard to possessing the true faith, namely, the virtues by which we worship God; for example, the virtue of latria and others of that sort, which are ordained to removing errors and confirming in the hearts of the faithful a solid belief in God. For one who does not have the true faith cannot love God, because whosoever believes something falsely about God does not love God; for one who does not believe does not love, because love can fix itself only on the things proposed to it by the intellect. Consequently, whatever makes for true faith makes for true charity. That is why he says, from a pure heart, because these things make the heart pure: blessed are the clean of heart; for they shall see God (Matt 5:8); and a good conscience: for our glory is this: the testimony of our conscience (2 Cor 1:12); and an unfeigned faith, i.e., one which is true.
And so the virtues and the precepts are ordained to an end which is charity, which arises from those three things.
Source: Commentary on 1 Timothy