Virtue is moral excellence. A virtue is a trait or quality that is deemed to be morally good and thus is valued as a foundation of principle and good moral being. Personal virtues are characteristics valued as promoting collective and individual greatness. The opposite of virtue is vice.
https://en.wikipedia.org/wiki/Virtue