Religion is not philosophy. We can have a concept of moral and good without belief in a god or something supernatural. For humans, everyone agrees that society is nicer to live in when people are nice to each other. So teaching people to be nice to each other lies in everyone's interests, a God serves no purpose here.
Note that there are Christian and Buddhist philosophy etc which is useful. However, that is philosophy and not religion. You can believe in the golden rule without being christian. You can agree with the teachings of Jesus without believing that he is the son of God. You can read the Bible without thinking that it is anything more than ancient pop-culture. Also, you can believe that some things are "good" without believing in a god.
So as far as we know Religion is no better than snake oil. The main purpose of snake oil is to redistribute resources from naive people to conmen. Snake oil might have some positive placebo benefits, and maybe snake oil inspired some people to pursue medicine and help people for real, but snake oil is still just snake oil.