Then when he says "for they who are according to the flesh," he proves what he had said. And he brings in two syllogisms. One is on the side of the flesh, and runs like this: All who follow the prudence of the flesh are brought to death; but those who walk according to the flesh follow the prudence of the flesh. Therefore, all who walk according to the flesh are brought to death. He sets out the other syllogism on the side of the Spirit, and it runs like this: all who follow the prudence of the Spirit obtain life and peace; but those who walk according to the Spirit follow the prudence of the ...Spirit. Therefore, all who walk according to the Spirit obtain life and peace. And so it is clear that those who do not walk according to the flesh, but according to the Spirit, are freed from the law of sin and death.
First, therefore, he states the minor premise of the first syllogism, saying, "for they who are according to the flesh," that is, who obey the flesh as though subject to it, "such men serve not the Lord but their own belly" (Rom 16:18); "they savor the things of the flesh"—as if to say: they have the wisdom of the flesh. For to savor the things of the flesh is to approve and judge as good that which is according to the flesh: "you savor not the things of God but of men" (Matt 16:23); "they are skilled in doing evil" (Jer 4:22).
Second, he states the minor premise of the second syllogism, saying, "but they who are according to the spirit," i.e., who follow the Holy Spirit and are led according to him, in accord with Galatians, "if you are led by the Spirit, you are not under the law" (Gal 5:18), "mind the things that are of the spirit," i.e., have a right sense in spiritual matters: "think concerning the Lord with uprightness" (Wis 1:1). The reason for these facts, as the Philosopher says in Ethics III, is that as a person is, so the end seems to him. Hence a person whose soul is invested with a good habit or a bad habit, judges about his goal according to the demands of that habit.
Source: Commentary on Romans