Education and prosperity don’t ensure democracy
Historically, many countries expanded primary education well before they became democracies. Authoritarian regimes can also use education to indoctrinate people and strengthen their power, so schooling does not reliably lead to democracy.