Whether it be unlawful to practice the observances of the magic art?

Objections

Objection 1 : It would seem that it is not unlawful to practice the observances of the magic art. A thing is said to be unlawful in two ways. First, by reason of the genus of the deed, as murder and theft: secondly, through being directed to an evil end, as when a person gives an alms for the sake of vainglory. Now the observances of the magic art are not evil as to the genus of the deed, for they consist in certain fasts and prayers to God; moreover, they are directed to a good end, namely, the acquisition of science. Therefore it is not unlawful to practice these observances.
Objection 2 : Further, it is written (Dan. 1:17) that "to the children" who abstained, "God gave knowledge, and understanding in every book, and wisdom." Now the observances of the magic art consist in certain fasts and abstinences. Therefore it seems that this art achieves its results through God: and consequently it is not unlawful to practice it.
Objection 3 : Further, seemingly, as stated above (Article [1]), the reason why it is wrong to inquire of the demons concerning the future is because they have no knowledge of it, this knowledge being proper to God. Yet the demons know scientific truths: because sciences are about things necessary and invariable, and such things are subject to human knowledge, and much more to the knowledge of demons, who are of keener intellect, as Augustine says [*Gen. ad lit. ii, 17; De Divin. Daemon. 3,4]. Therefore it seems to be no sin to practice the magic art, even though it achieve its result through the demons.