I actually like Karl Popper's take: elections are for getting rid of bad rulers, nothing more. Constitutional limits on government ensure a free and open society, while insulating leaders from the will of the people prevents a tyranny of the majority.