“Nevertheless, many extant fragments prove that Isaac had a certain interest in questions relating to the nature of Sammael, whose name had become for the Jews of the Middle Ages, the principal one associated with the devil and his dominion. The following dictum of Isaac makes good sense when viewed against the background of the large number of shepherds populating the western Languedoc:
He who lives with herds of sheep, even if it is in the high mountains and in the desert wastes, which are uninhabited, has no need to fear Satan and the evil powers, for no evil spirit rules among them. But he who lives among goats [of him it can be said] that even when he is surrounded by ten houses and a hundred men, an evil spirit rules over them.
In another fragment, we learn that Sammael’s origins lie in the power of the sefirah pahad, channeled to him through the last sefirah “without any other intermediary.” He has, therefore, a legitimate position in the sacred totality of Creation.
It was only when he pitted himself in the war of Amaleq against Israel and the sacred order it represents—a war that has always been interpreted in Jewish tradition as a metaphysical event of enormous significance—that he lost this legitimate place. Since then he receives his power only indirectly, from planetary spirits, and “no longer by the path of the primordial order of Creation.”
Gershom Scholem, Origins of the Kabbalah, p. 297.