That may have been the original intent, but that's not what it actually does.
For example, one of the stated purposes of the Electoral College is to act as a last line of defense in case someone who was demonstrably unfit to be president managed to get enough votes, to protect uneducated voters from the consequences of their own actions.
But it has never done so. Even now, with Trump as president-elect, there is no conversation there about whether the electoral college should step in. Even if you feel the answer should be 'no', the fact that Trump is someone with some very polarizing policies and no political experience means that this is the exact time such a conversation would be intended to happen.
Sort of like the second amendment, the electoral college has long since stopped serving anything resembling the function for which it was written into law. Instead, its an artifact that remains under the illusion of being central to America, but in reality is kept around because its a tool that serves to either make money for/retain power for those invested in the current system.
Without an electoral college system, presidents would have to do MUCH more campaigning (no longer being able to write off whole states as being consistently in their color) and there would be room for other political parties to put forward a candidate, because its no longer an all-or-nothing game. Politicians invested in the current political climate would never dare shake up the board by removing the EC.