Its hard to say which came first, Magick or philosophy. Magick has always been around, and mysticism too- and it is the mystic and the faithful that discover new perceptions and redefine God and the Universe. I believe Magick was first, but the two are so intertwined now youd not be certain- for sure if youre talking about higher spirits teaching humanity, Magick came first. Socrates said he had a Demon. I think people are interacted with or revealed something and thinkers take it on and ponder it. That is why there is a difference between an initiate adept and an academic adept.