Ética nicomáquea
The rule is alluded to by Aristotle in his "Nicomachean Ethics" (book V, chapter 10) as a metaphor for the importance of flexibility in equitable justice: