Science emerged largely because of religion.
“The orthodox view of the nature of the laws of physics contains a long list of tacitly assumed properties. The laws are regarded, for example, as immutable, eternal, infinitely precise mathematical relationships that transcend the physical universe, and were imprinted on it at the moment of its birth from “outside,” like a maker’s mark, and have remained unchanging ever since – “cast in tablets of stone from everlasting to everlasting” was the poetic way that Wheeler put it (Wheeler , 1989 ). In addition, it is assumed that the physical world is affected by the laws, but the laws are completely impervious to what happens in the universe. No matter how extreme a physical state may be in terms of energy or violence, the laws change not a jot. I
t is not hard to discover where this picture of physical laws comes from: it is inherited directly from monotheism, which asserts that a rational being designed the universe according to a set of perfect laws. And the asymmetry between immutable laws and contingent states mirrors the asymmetry between God and nature: the universe depends utterly on God for its existence, whereas God’s existence does not depend on the universe.
Historians of science are well aware that Newton and his contemporaries believed that in doing science they were uncovering the divine plan for the universe in the form of its underlying mathematical order...
Clearly, then, the orthodox concept of laws of physics derives directly from theology. It is remarkable that this view has remained largely unchallenged after 300 years of secular science. Indeed, the “theological model” of the laws of physics is so ingrained in scientific thinking that it is taken for granted. The hidden assumptions behind the concept of physical laws, and their theological provenance, are simply ignored by almost all except historians of science and theologians. From the scientific standpoint, however, this uncritical acceptance of the theological model of laws leaves a lot to be desired.”
Davies, P. (2014). Universe from bit. In P. Davies & N. H. Gregersen (Eds.).
Information and the Nature of Reality: From Physics to Metaphysics (pp. 83-117). Cambridge University Press.
(see also
Galileo and the Origin of Science)