It's impossible to stop wanting things, but there is a difference between wholesome desires and being blinded by greed. Buddhism is a practice of discernment with the intention to reduce suffering (for ourselves and others). It's easy to spot greed out in the world, but if we are mindful, we can spot it in our own thoughts and actions as well.