That’s a good point, and it also highlights one of things that irks me about terming behavior as greedy or as avaricious - which is that we’re quick to frame others as suffering from it but never ourselves.
The truth is that we all act in self-interest, and in the vast majority of cases greed is not an objective or useful aspect of a given behavior. In addition, the negative effects are hard to identify, and the positive effects are usually completely ignored.
The takeaway? Act in your self interest, take care of those around you, and be careful about assessing greed in others.