I recently started reading a great book called "Democracy for Realists". Voters may believe that they are electing someone who will represent their principles, but that is not how it works.
This is a good summary of the book: https://sppe.lse.ac.uk/articles/52