CATECHISM OF THE CATHOLIC CHURCH
SECOND EDITION

Paragraphs 1732–1736

1732 As long as freedom has not bound itself definitively to its ultimate good which is God, there is the possibility of choosing between good and evil, and thus of growing in perfection or of failing and sinning. This freedom characterizes properly human acts. It is the basis of praise or blame, merit or reproach.
1733 The more one does what is good, the freer one becomes. There is no true freedom except in the service of what is good and just. The choice to disobey and do evil is an abuse of freedom and leads to "the slavery of sin."
1734 Freedom makes man responsible for his acts to the extent that they are voluntary. Progress in virtue, knowledge of the good, and ascesis enhance the mastery of the will over its acts.
1735 Imputability and responsibility for an action can be diminished or even nullified by ignorance, inadvertence, duress, fear, habit, inordinate attachments, and other psychological or social factors.
1736 Every act directly willed is imputable to its author:

Thus the Lord asked Eve after the sin in the garden: "What is this that you have done?" He asked Cain the same question. The prophet Nathan questioned David in the same way after he committed adultery with the wife of Uriah and had him murdered.

An action can be indirectly voluntary when it results from negligence regarding something one should have known or done: for example, an accident arising from ignorance of traffic laws.