Freemasons learn a story about some Egyptian guy, western ceremonial magic (think Aleister Crowley) took a lot of ideas from hermeticism which traces back to Egypt, that stuff in turn got imported into Wicca but the esotericism has been simplified in most groups since.
Modern grimores have nothing to say about the highly effective curse magic of traditional societies where people were inclined to think sickness and loss came from another’s ill will. If you had a reputation that you could throw curses you could make a living throwing curses.