Answer:
William learns more about the scientific principles at work in the world, he believes less in magic that works good and evil upon people. Science improves William's life, both physically in his inventions and emotionally in the confidence that William gains in himself free from the threat of magic.