I agree that idealy no one would have to donate to the poor, but we don't live in a society like that so if you have spair money you don't need or want you might as well donate.
And if you still don't want to donate to the poor then you can donate to other projects like funding renewable energy initiatives or open source software.