With three weeks to go before a crucial midterm election, the country seems headed toward a vote that will both confirm and extend its current political divides. It’s a story line that carries echoes of the 2016 presidential election—and one that could bring the same kind of bitter aftermath.

Precise predictions are folly in this volatile environment, of course, but here’s the lay of the land at the moment:

Some...