Many of us came into 2017 expecting the worst. And in many ways, the worst is what we got.

Donald Trump has been every bit as horrible as one might have expected; he continues, day after day, to prove himself utterly unfit for office, morally and intellectually. And the Republican Party — including so-called moderates — turns out, if anything, to be even worse than one might have expected. At this point it’s evidently composed entirely of cynical apparatchiks, willing to sell out every principle — and every shred of their own dignity — as long as their donors get big tax cuts.

Meanwhile, conservative media have given up even the pretense of doing real reporting, and become blatant organs of ruling-party propaganda.

Yet I’m ending this year with a feeling of hope, because tens of millions of Americans have risen to the occasion. The U.S. may yet become another Turkey or Hungary — a state that preserves the forms of democracy but has become an authoritarian regime in practice. But it won’t happen as easily or as quickly as many of us had feared.

Early this year the commentator David Frum warned that the slide into authoritarianism would be unstoppable “if people retreat into private life, if critics grow quieter, if cynicism becomes endemic.” But so far that hasn’t happened.