We have the Electoral College for the same reason we have two houses of Congress. (One based on state population and one where all states have an equal voice)
It was to prevent small states and sparsely populated states from being completely drowned out and silenced.