I don't see a use for religion other than to allow people to skirt their responsibility in having/maintaining a mature line of empathy.
Truly though, any sect of christianity that abuses non heteronarmative people or women is not living by the law of the bible.
I know this sounds like a "no true scotsman" fallacy but really, If you read the bible, 100% of awful christian behaviour is in spite of the bible, not inspired by it.
Almost all of the worst atrocities in history have be committed due to faith/some other non-logical idealism. In this way relgion does very little to create a "hard line that can't be crossed" in fact it's often used as the justification.
Empathy can be derived from logic and is sufficient for deriving modern morality.
I'm not saying all religion is bad, just that it doesn't have utility over and beyond logic. Logic is more than sufficient to establish all of the perceived benefits of religion with none of the inherent risks/downsides of organised religions.
My practical argument is not that it encodes generational wisdom, necessarily, but rather that it is a source of moral reasoning that lies external to pure logic, which sacrifices what is right for what is practical, or expedient, in many cases