While it may come as surprise to some, the Talmud is filled with information about demons as well as charms, incantations, and other advice about how to deal with them. There are also Jewish works such as Ḥarba d’Moshe (The Sword of Moses), which contains magical recipes of likely Jewish Babylonian origin, compiled by Jews in the land of Israel between the 6th and mid-8th centuries CE. In his recent book, Jewish Magic before the Kabbalah, the scholar Yuval Harari seeks to explain this lore from the Second Temple period until the 12th century CE. He discusses his research, and the question of why it matters in an interview with Alan Brill:
Magic recipe literature is a broad map of human fears and anxieties, distresses and needs, aspirations and desires. It is a practical literature that, focusing on the daily needs of the individual, slips beneath the radar of social supervision and reflects life itself in a fascinating way.
Second, magic is highly democratic. It focuses on the individual and . . . takes personal needs of all kinds very seriously. It supports the individual at times of crises and assists him or her in fulfilling personal wishes. [The anthropologist] Bronislaw Malinowski viewed magic as ritualization of human optimism and I thoroughly agree with him.
Unfortunately, power always involves potential aggression and the promise of magical power also has a destructive facet. Books of magic recipes reflect that facet with instructions of how to harm and abuse the other. Painful as it is, here too magic literature mirrors life itself. Finally, because of the vague borderline between magic and the power of “true religion,” magic discourse is political by its very nature. . . .
I . . . perceive rabbinic literature as a [heterogenous] corpus, which from the outset does not reflect monolithic thought, faith, or [positions on particular questions]. No wonder then that we find in it a prohibition against sorcery together with stories about rabbis who make perfect use of it. [Furthermore, talmudic rabbis lived in] a world where all peoples believed in and practiced magic.