If you took all the religions in the world and destroyed them, in 1000 years there would be entirely new religions, completely different from the old religions...
If you took all the science in the world and destroyed it... in 1000 years there would be EXACTLY THE SAME SCIENCE
Mathematics is not something invented by humans, it is discovered by humans... mathematics is the same in any language, on any planet... 1 + 1 = 2 is a provable concept and does not change based on societal norms or which deities they currently worship
Newton and Leibniz are credited with the co-discovery of calculus... they did not invent it, they both discovered it at the same time... math/science is universal, religion is not
While science talks about the real world, proved theories and hypothesis; Religion is more associated towards stories and supernatural stuff. In brief, Science is concerned with natural world while religion is associated with both natural and unnatural. Most of the things in religion cant be explained by science and vice-versa and it is meaningless to associated both of them and try to find relation between the two.