As Prager was saying--and I agree with him 100 %--good religion is an inoculation against all kinds of philosophical and political stupidity (and evil).
This realization always prompts a kind of heartfelt gratitude for the light I have been given by so many God-inspired intellects.