For Aquinas as for Aristotle, human freedom boils down to the power to make choices. In the end, the morality of our actions must always be judged by the active will and the intentions behind them. It also implies the freedom to choose good over evil and the mental capacity to know the one from the other (which is why dogs and infants can’t commit mortal sins).

