Virtue by calculation is the virtue of vice.
Joseph Joubert (1867). “Some of the "Thoughts" of Joseph Joubert”, p.87

Virtue by calculation is the virtue of vice.