"To look at people in capitalist society and conclude that human nature is egoism, is like looking at people in a factory where pollution is destroying their lungs and saying that it is human nature to cough." - Andrew Collier
In any case, why should society encourage qualities like greed and selfishness?
"Society" does not encourage greed or selfishness, nor does capitalism. I'll wager that you don't actually care about those things, that you only care about other people having more than you. You are simply wrapping your "concerns" in moral language to make it seem like some sort of altruistic concern. However, you already have more than most people on earth I would imagine, you can already give your money away to the poor. I'll eat my socks if that's actually what you do though. Are you greedy are you selfish? No, just a normal person.
In any case, why should society encourage qualities like greed and selfishness?