Suppose there was a little Eastern European country where the election procedures were the same as the USA's. We would certainly criticize them every time the popular vote said A and the weird political procedure said B and got to overrule the popular vote.
In fact, if they had oil or it were otherwise advantageous, we would likely invade, fracture them into smaller countries more amenable to our interests, and then abandon them.
Until this century we mostly just got lucky, with only two misalignments in the 19th century.
We essentially have a rotten borough problem, though few want to acknowledge it. https://en.wikipedia.org/wiki/Rotten_and_pocket_boroughs
Ideally we'd go to preference-based voting, but just eliminating "let's make votes from rural areas vastly more important" as a voting system would be a huge start.
The electoral college system our country has used for nearly 250 years is no longer a "reasonable measure" of who won the election?