The United States of America is not and has never been a democracy. Democracy doesn't work.
The United States of America is a constitutional republic. That is to say, we are ruled by laws that apply to all persons and we elect representatives to make, enforce, and interpret those laws.
https://www.prageru.com/courses/political-science/popular-vote-vs-electoral-college