The electoral college was created in the time before the Internet, computers, television, radio, telephone, telegraph, electricity, the automobile, the airplane, and the train. It was logistically impossible to have a national popular vote at the time. Even the gap between the election and inauguration was based on the time it would take a man on horseback to reach DC from the farthest point out in the country.