In my opinion, all religions teach some falsehoods, and encourage their members to use unproductive mental tricks to avoid dealing with the more obvious falsehoods. But all human thought is riddled with falsehoods, so I'm not convinced that reality alone is sufficient to condemn religion.
Most religions encourage their members to engage in charitable work and also offer a social support system to its members. Those are both extremely important and ought to be recognized as adding value. Yes, the same end can be achieved without religion, but it isn't easy or self-evident that the same number of human beings would devote the time and energy to a secularly driven cause.
Most of the time, I come out with a draw. Some good, some bad. But there's always one component that seems to have far more negative than positive outcome. That component is why some, in the past, have called religion an opiate. Religion sometimes encourages people to passively accept problematic situations in this life because it will all be sorted out in the next.
It's no secret to anyone who knows me that I was in a very bad marriage when I was LDS. My exhusband was mentally ill with untreated bipolar disorder and was diagnosed with other psychiatric disorders as well. He was mentally ill when I met and dated him through out short three month courtship, but I didn't recognize his symptoms as a serious mental illness, but rather as a circumstantial difficulty which would be alleviated with my love and continued prayer. It became obvious pretty quickly that these weren't issues that were going to be resolved quickly or easily. But I did not feel that I could easily break the covenants we'd made in the temple just because he had problems. Then we had children, and it all compounded.
I stayed with him for 15 horrible years, and subjected my children to him until my oldest was eleven and my youngest seven. I knew he wasn't healthy for them, but I "solved" that problem with intense prayer and church activity and devotion. God would protect my children from the effects of his erratic and often frightening behavior. It would work out because God was on my side.
I was putting these things in eternal perspective. As long as I was faithful, it would work out for me and my children. The church, at least at that point, taught that divorce was only acceptable in the worst possible circumstances, and when the church approved manual on marriage (for an institute class or BYU class, I can't remember which) clearly identified abuse as one of those sins that could be repented of and forgiven instead of divorce I knew that my situation didn't merit divorce in God's eyes, and God would protect me and my children. Or, as Boyd K Packer said:
The woman pleading for help needs to see the eternal nature of things and to know that her trials -- however hard to bear -- in the eternal scheme of things may be compared to a very, very bad experience in the second semester of the first grade. She will find no enduring peace in the feminist movement. There she will have no hope. If she knows the plan of redemption, she can be filled with hope.
http://www.lightplanet.com/Mormons/prie ... ating.html
I only became proactive with my life and took steps to remove myself and my children from my exhusband's harm after I left the church and realized that I alone was the one who had to fix things, as much as they could be fixed. There was no God magically protecting my children from harm. They were being harmed.
So, at least in my case, the real danger and threat of religion to me was that it encouraged me to passively accept a situation that I should have been proactively seeking to change.
This is a common criticism of religion, it's not a new thought of my own creation. Even saints like Mother Teresa have been similarly criticized. Mother Teresa did work to alleviate suffering, but some accused her of encouraging the poor to accept their poverty. She certainly didn't help the poor by discouraging the use of birth control.
Believing that prayer and faith is a real solution to a real problem can lead people into a passive state. Believing that some glorious reward awaits in the next life which will make the injustices of this life fade can lead people into a passive state.
To me, that is the greatest danger of religion. No god, no wonderful promised after-life is going to fix your problems in the here-and-now. Only you can do that.