Religion actually does serve a purpose. When used correctly, it can balance the mind, unfortunately 99% use it incorrectly.
The mind is naturally balanced without outside intervention. Just look at animals, their minds are balanced without such nonsense. Things like religion unbalance it. we are given everything we need by Nature, Religion is pointless unless you want to control people. And that's what its used for, if you are religious, you are under control, you have been programmed, you are programmed what to believe, how to behave, how to react, essentially the more devout and religious one is, the less human they are, the less natural and spontaneous.
Your statement that Religion actually does serve a purpose is a product of your programming and also that your mind is unbalanced. Your negative reaction to what I just said is also part of your programming and unbalanced mind. The only way to break free from the shackles of this programming is to first acknowledge that you are indeed under someone else's control and running their software on your computer.