Democracy is not simply a license to indulge individual whims and proclivities. It is also holding oneself accountable to some reasonable degree for the conditions of peace and chaos that impact the lives of those who inhabit one's beloved extended community.
The good polis is made by the good person, his moral character intact, and the good polis, in turn, helps turn out good persons, their moral character intact.