Based on Aristoteles book of Nicomachean Ethics he writes about virtues.
A virtue is the middle disposition of two extreme dispositions.
This dispositions act as categories and can be viewed as a scale.
The lower part of the scale is the category/disposition "lack".
The middle or balanced one is the virtue.
The high one is "excess".
Based on aristoteles not only lack but also excess can be harmful.
That means that someone has to choose the virtuel between two affects.
An affects populates the categorical table.
In your example lack would represent greed.
Excess would represent waste.
The middle one or the virtue in this case would be generosity.
This can be used with any affects.
One has to find two extremes of an affect and then conclude the virtue from it.
But this virtues are very context dependent.
Being generous means something else for someone poor compared to someone rich.
If I think about it, then it makes sort of sense for lots of scenarious.
As
@Varallo already pointed out, being greedy can have negative aspects on our environment.
But being wasteful as well.
This was a good opportunity to summerise what a learned.