IIRC, she did it to gain somewhat eternal life, and to get stronger/more powerful in the mirror dimension. And it’s bad because such dark powers end up corrupting the soul at some point, which kind of makes her flawed (& hypocritical in blaming Kaecilius for doing the same thing), when she should be the wisest being…