Although the prophet Samuel declares that “the Glory of Israel does not lie,” most medieval Christian theologians, going back to Augustine, believed that although God would not (or could not) tell outright lies, He did deceive—for instance, in telling Abraham to sacrifice his son Isaac. Only with the Scientific Revolution, argues Dallas G. Denery II, did philosophers begin to argue otherwise, and they did so in order to bolster not their religious beliefs but their rationalist ones:
[T]he commitment of the Scientific Revolution to rational causes for all events, even exceptional or seemingly anomalous ones, robbed God of the power to deceive. Losing the power to deceive, God lost the power to speak, to interfere and interact with the world. From the perspective of scientists this was almost necessary, interested as they were in a stable and constant world reducible to mathematical equations and inviolable principles. God became the source of universal order at the cost of no longer having anything much to do with the universe.
This change brought real consequences. More and more, scientists came to imagine the entire universe as a vast machine, a complex mechanism akin to a clock. God, having designed and created it, wound it up, then stepped back and let it run its course.
More about: Augustine of Hippo, Binding of Isaac, History & Ideas, Rationalism, Scientific Revolution, Theology