The magician is capable of considering God or the Devil and redirect his will through these concepts, hence producing white or black magic respectively.
By themselves, God and the Devil can't do anything. It's the magician's will that makes the trick.