As long as there is darkness, the Nightmare will be there. It is a fundamental part of Equesteria, and can never be destroyed, only delayed. And she will rise again, if the Brotherhood get their hands on an artifact known only as the Sanctuary.