It is the electoral college, which reflects the collection of how the vote went with the states, state by state, that elects the president, not the “popular” vote, which by itself alone CANNOT represent THE STATES of these United States.
Using the “popular vote” will incite a new civil war, as MOST of the country would get overruled by the merely most populace places in the country. It would be a victory of filaments of blue in a sea of red.