Then he proves his point when he says as it is written, by the authority of the prophet Malachi speaking in the person of God who says: Jacob I loved, but Esau I hated.
A Gloss on this says that the statement, the elder shall serve the younger, was spoken from foreknowledge, but that the present statement results from judgment, i.e., that God loved Jacob on account of his good works, just as he loves all the saints: I love those who love me (Prov 8:17), but he hated Esau on account of his sins: the Highest hates sinners (Eccl 12:7).
But because man's love is preceded by God's love: not that we... loved God, but that he has first loved us (1 John 4:20), we must say that Jacob was loved by God before he loved God. Nor can it be said that God began to love him at a fixed point in time; otherwise his love would be changeable.
Consequently, one must say that God loved Jacob from all eternity, as it says in Jeremiah: I have loved you with an everlasting love (Jer 31:3).
Now these words of the Apostle identify in God three things pertaining to the saints, namely, election, by which is understood God's predestination and election. In God these are really the same, but in our understanding they differ. For it is called God's love, inasmuch as he wills good to a person absolutely; it is election, inasmuch as through the good he wills for a person, he prefers him to someone else. But it is called predestination, inasmuch as he directs a person to the good he wills for him by loving and choosing him. According to these definitions predestination comes after love, just as the will's fixation on the end naturally precedes the process of directing things toward the end.
Election and love, however, are ordered differently in God than in man. For in men, election precedes love, for a man's will is inclined to love a thing on account of the good perceived in it, this good also being the reason why he prefers one thing to another and why he fixed his love on the thing he preferred. But God's love is the cause of every good found in a creature; consequently, the good in virtue of which one is preferred to another through election follows upon God's willing it—which pertains to his love. Consequently, it is not in virtue of some good which he selects in a man that God loves him; rather, it is because he loved him that he prefers him to someone by election.
But just as the love, about which we are speaking, pertains to God's eternal predestination, so the hatred about which we are speaking pertains to the rejection by which God rejects sinners.
It should not be supposed that this rejection is temporal, because nothing in the divine will is temporal; rather, it is eternal. Furthermore, it is akin to love or predestination in one respect and different in another.
It is akin in the sense that just as predestination is preparation for glory, so rejection is preparation for punishment: for a burning place has long been prepared, yes, for the king it is made ready (Isa 30:33).
It is different in that predestination implies preparation of the merits by which glory is reached, but rejection implies preparation of the sins by which punishment is reached. Consequently, a foreknowledge of merits cannot be the reason for predestination, because the foreknown merits fall under predestination; but the foreknowledge of sins can be a reason for rejection on the part of the punishment prepared for the rejected, inasmuch as God proposes to punish the wicked for the sins they have from themselves, not from God; the just he proposes to reward on account of the merits they do not have from themselves: destruction is your own, O Israel; your help is only in me (Hos 13:9).
Source: Commentary on Romans