I doubt that religion can survive deep understanding. The shallows are its natural habitat. Cranks and fundamentalists are too often victimised as scapegoats for religion in general. It is only quite recently that Christianity reinvented itself in non-fundamentalist guise, and Islam has yet to do so.
The principles of the good society call for a concern with an order of being - which cannot be proved existentially to the sense organs - where it matters supremely that the human person is inviolable, that reason shall regulate the will, that truth shall prevail over error.