Why Our Votes Count?

It is often said that “a people get the leaders they deserve”, which can be interpreted in the following ways:
The people have turned a blind eye to the excesses of their leaders and deserve the quality of governance they are served.
The (good or bad) leaders emerge in proportion to the quantum of citizens’ (good or bad) choices during elections.