Charity does go against self-interest. Any forward thinking person wouldn't waste their resources on others if their only goal was continuation of their own existence in a volatile universe. If the rule is "me first" than my self should win every single decision. Nothing should go to anyone that could go to me. If I am more important than other people why would I feel good that they have what was once mine?