But you don't have to be religious to not be nihilist, atheist and/or hedonist.
Religion as an excuse seems like a poor moral framework.
You're right. You can believe in God and not be religious, but honestly how many are like that? And I mean beyond the whole "spiritual but not religious" line. Most people that mock religion also, per numbers, don't believe in God or the utility of religion. Religion keeps the fabric of society from falling into disarray. In a time of low birthrates it's the religious that are the ones that keep fucking and making babies. The religious keep society's engines well oiled.
Unfortunately it can be taken to an extreme, but it also has good fruits too.
To pretend that religion has offered the world nothing is ahistorical. You even have your beautiful libertarianism, and its key word - liberty - to thank religion for due to pre-enlightenment figures such as John Locke.
Where does less religion get us? A breakdown in our values, our culture, our traditions. The result? Anarchy. And giving money to twerking 10 year olds or propagating an agenda that children can choose their gender. Religion is needed to stop humans from venturing too far, much like Adam and Eve ate the forbidden fruit. It has utility.