Thomas Aquinas,
Summa Theologiae — Question 78 - OF THAT CAUSE FOR SIN WHICH IS MALICE…
“ On the contrary, The good habit stands in the same relation to the choice of something good, as the bad habit to the choice of something evil. But it happens sometimes that a man, without having the habit of a virtue, chooses that which is good according to that virtue. Therefore sometimes also a man, without having the habit of a vice, may choose evil, which is to sin through certain malice. ”
