Irish Catholics (who would qualify as "religious" people) in a study not many years back were found to be the most educated Americans. I don't know where you got the erroneous idea that education and religion are enemies.
I'll just focus on one — universities. The prestigious Ivy League universities Harvard, Yale, and Dartmouth were founded by the Puritans. The list of other such religiously-established universities is very long.