The history of mathematics is tightly coupled to spirituality... some more famous examples off the top of my head are Cantor, Euclid, and Euler, but there are probably hundreds of examples of folks who explicitly tied their faith to their research.

I definitely don't think there's anything inconsistent with mathematical and theological thinking. That actually strikes me as a very strange idea?