This is the ideal, but it's often false in meaningful ways. In several US elections, for example, we've seen audio leaked of politicians promising policies to their donors that would be embarrassing if widely publicly known by the electorate.
This suggests that politicians and donors sometimes collude to deliberately misrepresent their views to the public in order to secure election.