Gal 5:20
Idolatry,
witchcraft,
G5331 hatred, variance, emulations, wrath, strife, seditions, heresies,
Rev 9:21
Neither repented they of their murders, nor of their
sorceries,
G5331 nor of their fornication, nor of their thefts.
Rev 18:23
And the light of a candle shall shine no more at all in thee; and the voice of the bridegroom and of the bride shall be heard no more at all in thee: for thy merchants were the great men of the earth; for by thy
sorceries G5331 were all nations deceived.
In these three verses, the Greek word that is translated into English as "witchcraft" and "sorceries" is
pharmakeia.
https://www.blueletterbible.org/lexicon/g5331/kjv/tr/0-1/
It is from this Greek word that we get our English word
pharmacy.
https://www.etymonline.com/search?q=pharmacy
pharmacy (n.)
late 14c., farmacie, "a medicine that rids the body of an excess of humors (except blood);" also "treatment with medicine; theory of treatment with medicine," from Old French farmacie "a purgative" (13c.) and directly from Medieval Latin pharmacia,
from Greek pharmakeia "a healing or harmful medicine, a healing or poisonous herb; a drug, poisonous potion; magic (potion), dye, raw material for physical or chemical processing."
This is from pharmakeus (fem. pharmakis) "a preparer of drugs, a poisoner, a sorcerer" from pharmakon "a drug, a poison, philter, charm, spell, enchantment." Beekes writes that the original meaning cannot be clearly established, and "The word is clearly Pre-Greek." The ph- was restored 16c. in French, 17c. in English (see
ph).
Buck ["Selected Indo-European Synonyms"] notes that "Words for 'poison', apart from an inherited group, are in some cases the same as those for 'drug' ...." In addition to the Greek word he has Latin venenum "poison," earlier "drug, medical potion" (source of Spanish veneno, French venin, English
venom), and Old English lybb.
Meaning "the use or administration of drugs" is from c. 1400; the sense of "art or practice of preparing, preserving, and compounding medicines and dispensing them according to prescriptions" is from 1650s; that of "place where drugs are prepared and dispensed" is recorded by 1833.
I would imagine that this has something to do with what you overheard.