Third, he states the major premise of the first syllogism, saying, "for the prudence of the flesh is death." To understand this, it should be noted that prudence is right reason concerning the doable, as the Philosopher says in Ethics IV. But right reason concerning things to be done presupposes one thing and does three things. For it presupposes a goal that functions as a principle in human actions, just as the speculative reason presupposes principles from which it proceeds to demonstration. But right reason concerning the doable does three things: first, it plans correctly; second, it judge...s correctly about plans; third, it correctly and firmly commands what was planned. Hence, for prudence of the flesh it is required that a person presuppose as his goal a pleasure of the flesh and that he plan and judge and command what leads to this end. That is why such prudence is death, i.e., the cause of eternal death: "he who sows in the flesh will from the flesh reap corruption" (Gal 6:8).
Fourth, he states the major premise of the second syllogism, saying, "but the prudence of the spirit is life and peace." Now according to what has just been said, there is prudence of the spirit when someone, presupposing a spiritual good as the goal, plans and judges and commands the things that are suitably ordered to that goal. Hence such prudence is life, i.e., the cause of grace and glory: "he who sows in the spirit will from the spirit reap eternal life" (Gal 6:8); and it is peace, i.e., the cause of peace, for peace is caused by the Holy Spirit: "great peace have those who love your law" (Ps 119:165); "the fruit of the Spirit is love, joy, peace" (Gal 5:22).
Source: Commentary on Romans