We have a legitimate democracy in terms of vote-counting, and you personally contribute to that.
It looks a lot less legitimate to me when I think about factors like votes having vastly varying weights because of gerrymandering and the Electoral College.
It gets even less legitimate when I think about how severely restricted our choice of candidates are, and how they are more or less chosen by party leaders and the oligarchy via billions of dollars of lobbying etc.