Let's look at that a different way. I am what's called a "Liberal" in Canada. I am a person willing to vote my tax dollars to the general welfare. Not to a "socialist paradise," mind you. I'm just willing to pay my fair share of taxes to ensure that nobody -- whoever they may be -- should be in want of basic necessities, along with basic dignity.
Charities, you know, are very often dedicated to one cause or another. All too often, for example, soup kitchens will dole out meals for which all they ask is that you listen to their religious pitch. I prefer it when everyone has access to what's needed as a matter of course, and do not have to capitulate or abase themselves in order to get it. And that is how I vote my tax dollars.
Mind you, though an atheist and a person who believes that government can be an effective part of the community, I also donate to charities. One of my favourites, as it happens, is the Salvation Army. They were there, you see, when my mother was pregnant and unmarried at 15 nearly 3/4 of a century ago (in a very moralistic time and place), and gave her help, not moral condemnation. I was named after a Major in the Sally Ann, actually.
So what I am trying to show to you is that it isn't "religion" that fosters and creates community -- it's people. We all just have our own ways of doing it. And in my view, we do it much, much better when left to do it in our own way.