Rand, distinguished charity from altruism, and said that altruism has the premise of the self, or "selfishness", as evil. She found that idea itself evil:
What is the moral code of altruism? The basic principle of altruism is that man has no right to exist for his own sake, that service to others is the only justification of his existence, and that self-sacrifice is his highest moral duty, virtue and value.
Do not confuse altruism with kindness, good will or respect for the rights of others. These are not primaries, but consequences, which, in fact altruism makes impossible. The irreducible primary of altruism, the basic absolute, is self-sacrifice--which means; self-immolation, self-abnegation, self-denial, self-destruction--which means: the self as a standard of evil, the selfless as a standard of the good.
That quote from Rand is nonsensical. One who gives of the self does so because he is good, not because he engages in "self-immolation, self-abnegation, self-denial, self-destruction".