Although it's true that the Founders' world view shaped their designs for the country's governance--as, it should be pointed out, is true in any era, including our own--the reality is rather more complicated. A fairly good summary of the origins of the Electoral College is available here: https://www.history.com/news/electoral-college-founding-fathers-constitutional-convention.
We don't live in a pure democracy, but a form of republic that's often called a democratic republic. The Electoral College was intended to be a representative institution, as Congress is, although the political parties rapidly subverted it.
Granted, it may not be what we want anymore. I understand the arguments for replacing the Electoral College with a direct vote. At the same time, I would argue that political parties have done more to undermine the "democratic" part of our democratic republic than the Electoral College ever could. They've convinced us that we only have two choices in an election, and they've gerrymadered districts as much as possible in an attempt to reduce that to just one. Yet strangely, few people talk about getting rid of them.