In my opinion, religion is just one of those "guidelines" for man on how he can live his life. He has many options: he can live in a Catholic, Islamic, or Buddhist way, among others. Or he may choose to live independently from a religion.
There may be some very devout people who really take their religion seriously, but I think the majority are only religious by name. Has religion failed, then?