Not so sure about that. Some of today’s autocratic leaders are incredibly smart and educated people and still took the wrong turn. If education doesn’t work for these leaders why should it work for the electorate?
Hence, I’m leaning more towards your last point that it’s maybe more about values and morals? A common understanding of what is „good?“ You can certainly sharpen these through education but there seems to be more at play. Our world also seems to have moved beyond some of the simplistic moral frameworks of the past… Maybe the current times of turbulence are the precursor to the development of new moral frameworks?