Religion is the concept of god and creation, wrapped in a layer of worship, repayment, rituals and philosophies of leading a good life for you, your society and for god. Belief in god and worship is fundamental to religion. Religions have their version of god, worship, rituals etc. Similarly they also create their version of ideal humans. These ideal versions differ from one another. One religion may tell good people pray two times a day, another may tell good people pray ten times a day. One religion may tell good people follow a path of nonviolence, another may tell good people kill those who criticize that religion. We can find similar examples when looking at different religions. It is also very likely that religions portray a good person as someone following that religion. We can say such religions are trying to make good religious people and not good humans.
Some religions make peace and happiness as a blessing from god. These religions will ask you to do your religious duties and enjoy a good life as a reward. These religious duties can be anything, giving food to people in need, making a bonfire, praying, converting people to your religion, killing people not following your religion etc. It may say that only by doing such things you will be blessed with peace and happiness. But you might not get peace and happiness even if you do each and every one of it. Religions have their own explanations for when this happens. You may be told you did bad things in your previous life or lives, or you may be told if you are following the rules don't mind the current suffering as heaven awaits you or some other explanation. But there is no reason to believe there is afterlife or heaven or hell or a spiritual world. It is our ignorance and fear of the unknown that make us believe it and religions survive exactly on that. There are some good aspects to religious rules like love everybody etc and there are also bad aspects to it like asking its followers to kill non-believers. And both these aspects will be backed by imagination to some degree. These is no need to believe in imaginary things if you can be content with the answer "we don't know" or "it is how it is". In reality, when you love everybody you maximize your chances of receiving love and when you hurt somebody there is a good chance for you to get the same back. Religions don't apply this simple logic to some of its rules. It is misguided by imagination and it reflect in its decisions. Religions make its followers lose themselves in an imaginary world. It is not always telling you the truth or the reality. It is making up things and these made up things are doing more damage than good.
If religions wanted peace and happiness for everybody then it should have started by telling the truth. It should have told there is no right or wrong, but actions have reactions. If you want peace and happiness, the best chance of getting it is by giving it. There is no purpose to life. There is no need to think about god. There is no god's words. And no religion tell us the truth. Religions try to help individuals and societies but it failed in achieving it.
Religions may give us valuable life lessons. The contents in religions about how to live in a group, how to organize society etc may be good for us. But religions also misguide us and divide us. It damages our view of what is real and what is not. It can improve us but it doesn't always, and comparing the good things and the bad things in it, we can conclude we lose more than what we gain.