Franco in Spain prepared the people to have a democracy but he was a dictator. You're right -- it doesn't seem like many democracies spring up on their own like here in the USA.
Athens invented democracy only after a stable long term tyranny (which did not mean what it means now) created stable institutions and a stabel middle class.