By being compelled to acquire good habits, we shall in time, Aristotle thinks, come to find pleasure in performing good actions.
 Bertrand Russell, A History of Western Philosophy (1945). copy citation

Context

“Intellectual virtues result from teaching, moral virtues from habit. It is the business of the legislator to make the citizens good by forming good habits. We become just by performing just acts, and similarly as regards other virtues. By being compelled to acquire good habits, we shall in time, Aristotle thinks, come to find pleasure in performing good actions. One is reminded of Hamlet’s speech to his mother:
Assume a virtue if you have it not.
That monster, custom, who all sense doth eat,
Of habits devil, is angel, yet in this,
That to the use of actions fair and good
source