Religions funded learning and guarded texts, building schools and libraries. Yet they censored ideas too; science advanced mainly through curiosity and method, not dogma.