Mostly trying to relate.
Your response caught my attention because I had a similar path, though only in Catholic Church, practicing religion in my 20’s, but moving away after mid 30’s.
At a practical level Jesus was right, showing compassion, living modestly…. but the interpretations of the churches - not only catholic - all the pomp and circumstance around mass, preaching, shrouding secrecy, asking the poor for money, etc. made me question churches in general.
After studying some philosophy, and learning meditation practices, I believe churches play an important role in society, including that prayer enables the masses to experience meditative states that have important health benefits. Religious teachings give something in which people can believe in, instead of facing uncertainties of life alone.
Also in many cases throughout history, churches anchored small communities together.
I believe people should experience church to decide on their own, but not being guilted to staying. Each person should be able to discern, choose their path, but there are always the crazy ones out there guilting and trying to impose their beliefs on to others. That is not right.
One big problem with your last paragraph: Baptism and many other rite to join religions happen at a very young age. These children know no world without the belief almost everyone around them practices. It’s getting their norm how live is. Leaving gets hard, it means leaving your life behind.