Alice betrayed the magicians because she came to believe that the world would be a better place without magic.
Her decision stemmed from a profound conviction that magic posed a significant danger, making its eradication beneficial for humanity. To achieve this, Alice took drastic action by attempting to destroy the keys that were vital for magic's existence. This act was a direct consequence of her philosophical shift, leading her to conclude that a world devoid of magical influence would be more desirable. Her betrayal had immediate and severe consequences, notably forcing Julia, who had just attained god-like status, to sacrifice her newfound powers to recreate the keys and restore magic.