Magic does not and cannot exist in the real world, if it did, it would have been a proven phenomenon by now, and as commonly depicted in fiction, it's often unstable or has unexpected outcomes for its use, if a spell goes wrong, it can harm an unintended target or cause serious property damage, or both, the most catastrophic way it can fail, altering a timeline.
However I still daydream about being in a magical world, yes you know, the MLP fanfiction, I'm not the only fan who has done this either. I just know it cannot happen, no matter how much I'd like it to. However given the heavy abuse of technology going on in the real world, it does not always give me comfort knowing science is all that can be done, I think humanity is on their way to extinction, but while we exist we can make our lives count, what will be will be.
Even if I were to exist in Equestria as a Pegasi which is a fantasy world, I would not be studying much of magic at all, I would not begrudge magic users like Twilight Sparkle who have the best of intentions, I just would not know what to do with all that power, I'd want to live a peaceful life, a lot of the time I'd be in solitude, making friends would still be a good idea, because even Ponies in MLP fiction are social, however magic in the wrong hooves is very dangerous. Yes, potentially it could kill even an MLP character, as Starlight Glimmer was shown to have vaporized Discord when she lost her temper for his reckless antics at the school.