Second, power consists in constancy of heart, and thus he says, the strong man, as far as it comes from the strength which is a power of the soul.
Third, it consists in the exercise of the art of war, and thus he says, the man of war.
99. Wisdom is required for the exercise of judgment: because of which Solomon asked for wisdom from God: give therefore to your servant an understanding heart . . . to discern between good and evil (1 Kgs 3:9).
And this may be had in three ways: either by human institution; and as to this he says, the judge, as it were, the expert in the law; or by divine insp...iration, and as to this he says, the prophet; or by the revelation of a demon, and as to this he says, the diviner, because they divined on the altars of demons, and they sometimes spoke truths.
100. Authority is necessary for reverence, and this also consists in three things:
in dignity of office, and as to this he says, the prince; and by these he understands all other princes, as the Gloss says;
in uprightness of morals: the ancient in morals;
in maturity of countenance: the honorable in countenance.
Concerning this chapter, we first consider where it says, the diviner (Isa 3:2).
According to this it seems that it may be lawful to inquire into future things by diviners: for taking away something unlawful is not a punishment, but rather a benefit.
Moreover, the same thing seems to follow from the Gloss, which says diviners sometimes speak truths; but truth is to be received from wherever it comes, therefore it should also be received from diviners.
Moreover, since demons are clearest mirrors according to intellect, as Dionysius says, it seems that, at least in things that pertain to knowledge, it may not be evil to receive from them, and it will be lawful to turn thus to divination, and especially since no knowledge is evil, and divination may relate knowledge.
129. To this is to be said that divination, by its name, signifies a usurpation of a divine act, and this especially in the knowledge of future things which cannot be known naturally.
For there are certain future things which have determinate causes in nature, from which they arise necessarily, like an eclipse of the sun; and divination does not concern these things.
Other things also have determinate causes, from which they arise, as in many things, like drought in the dog days of summer; hence, divination does not concern these things (for such are the prognoses of doctors concerning health or death, and of mariners concerning a coming storm), unless perhaps they are foretold as if coming in immovable truth, for this belongs only to God.
There are also certain future things which do not have determinate causes in nature, and especially those which come to be from free will; and of these causes no one has foreknowledge except God, to whom all things are present because of the stability of his eternity, or someone who learns them from God. And if indeed such things are predicted by divine inspiration, it is prophecy, not divination; if, however, someone predicts by his own devising, deceptively, for the sake of some profit, as little old women do, it is called divination; and it is a sin, because it is a lie, since they assert uncertainties as true, and because it is deception, and because it is a usurpation of divinity.
130. Similarly, a prediction is called divination if it comes to be in any way whatsoever from the counsel of demons, who indeed are able to predict some future things, either because they themselves are the causes of them, or because they themselves know them through the revelation of good angels, or because they foreknow by natural knowledge in those things which have determinate causes in nature that are hidden from us and known to them because of the perspicacity of their intelligence and because of their long experience.
And nevertheless it is always a sin to inquire from them, and apostasy from faith, as Augustine says. And this is so for three reasons: first, because, although they may speak truths, nevertheless their intention is always to deceive; second, because they are not able to have certain knowledge, except of those things which they know through revelation; third, because we are not able to be at the same time sharers in the gifts of God and of the devil; and among all these, this last reason is foremost. And although it may be a benefit simply, nevertheless it is a punishment to those who follow such things, because it is contrary to their will.
Source: Commentary on Isaiah