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.
On your second paragraph, you could wonder whether there is some clean quantitative association between the disappearance or modern existence of traditions like the cunning folk and the prevalence of “self-developing” diseases like autoimmune ones.
The big story Freemasons learn about is about a Tyrian mentioned in the Bible. And that replaced an earlier story about Noah. There's no Egyptian that plays any huge role.
What is an obelisk ? Symbolism of Egyptian sun god Ra
Romans had a temple of a female Egyptian god. There is one in Greece too.