Apotropaic magic
A magical spell or item used to ward off evil.
Key passages
Ps 58:5

so that it does not hear the voice of charmers or the skilled caster of spells.

Ec 10:11

If the snake bites before the charming, the snake charmer will not succeed.

Tob 6:7–8

Then the young man said to the angel, “Brother Azariah, what are the liver, heart, and gall of the fish for?” And he said to him, “As for the heart and the liver, if a demon or evil spirit troubles someone, so let these things make smoke before a man or woman; and no more will the person be troubled. …

Tob 6:16–18

The angel said to him, “Do you not remember the words that your father charged you, about you taking a wife from among your people? Now listen to me, brother, because she will become a wife to you. Take no account of the demon, for this very night she will be given to you as a wife. And when …

Tob 8:2–3

As he went, he remembered the words of Raphael; so he took the coals of the incense and placed on them the heart of the fish and the liver and made them smoke. And when the demon smelled the odor, it fled to the upper parts of Egypt, and the angel bound it.