The Dunyain despite their efforts to master all circumstances, were destroyed by ancient aliens who used magic and genetically engineered beasts (two possibilities that the Logos could not predict) and then the last survivors of the Order succumbed to an even greater evil.

But they didn't succumb, they subsumed, and despite the means, the goal of shutting the world in itself is good, or can be argued to be good.