There are a lot of different arguments as to why we ultimately ended up with the Electoral College, from guarding against mob rule (i.e., common people voting) to protecting rural interests to getting slave states to ratify the Constitution (slave populations counted towards the Electoral College and helped smaller slave states make their concerns heard).