The electorial college was put into place to help give small States with small populations a stake in the elections.
We are a Federal System, not a true Democracy. We vote for people to vote for us. The number of electorial votes is based on the two Senators and plus how many Congressional Representatives assigned by population.
So, the minimum is 3, and the maximum, so far is 55(California). But California, just based on population would be 12% of the nations popular vote, but based on the electorial vote system of 55 out of 538, would only represent 10% of the electorial vote.
Conversely, poor Wyoming, with a population of only about 509,000 people,(I think that is the population of lower Manhattan) only represents about .2 % of the US population, but it's 3 Electorial votes give it .5% of the Electorial vote.
I think it helps level the playing field somewhat in representing state issues in the politics of a new President.
The 10th Amendment allows states to legislate themselves and make laws specific to them. "That which is not surrendered, is not up for grabs,or some such language."
Any attempt to get rid of the electorial college would run into a Supreme Court defense trial of the 10th Ammendment to the Constitution for states that wanted to uphold thier electorates.
I think it is not perfect, but better than the popular vote.