I'm not referring to any specific religion. I'm just saying they were religious. Which religious tradition has the most great minds is a separate question and I don't know the answer, but I would suspect Christianity. But all I'm saying here is that most great minds throughout history were religious.