Aristotle's table of virtues is a map of midpoints: courage between cowardice and rashness, generosity between stinginess and waste, friendliness between surliness and flattery. The mean is not arithmetic (relative to us, not to the number line — the right meal for a wrestler is not the right meal for a jockey) and not always attainable, which is Aristotle's point about moral difficulty: the right act lands at a specific time, specific way, specific person, "as prudence shall direct." The doctrine is criticized as a middle-class ethic masquerading as metaphysics (Nietzsche) and defended as psychology: for most people most of the time, failure is not in an exotic direction but in the local, predictable one, so knowing which way you lean is half the correction. The Delphic maxim "nothing in excess" carved it in stone six hundred years before Aristotle systematized it; the Confucian zhongyong ran the same valley in parallel.
“Virtue, then, is a state that decides, consisting in a mean, relative to us, which is defined by reason.”
Nicomachean Ethics II.6 (trans. adapted)