I don't even know what the question is. Is there a threshold function? Is there a critical mass of stupidity beyond which all hope is lost and we just have to go through the ugly process of tyranny and its eventual collapse? But what if technology can provide a superior tyranny, in effect flawless totalitarianism? The hope part of the puzzle seems unpredictable.
[1] Bonhöffer seems apt here, a Lutheran pastor killed by the Nazis, who consider stupidity a greater threat to good than evil.