It is perhaps good that societies go through occasional paroxysms of outrage over abuses and vices among the high and mighty. That’s one way to reiterate the boundaries of acceptable conduct. It would be better if boundaries were in general supported on a daily basis, but societies have their ways.
In a representative system of government, it is often felt that representatives should represent all that is best in society, that they should reflect the self-image of people as good and wholesome. That may be asking more than elections can deliver, but it’s a noble sentiment.
The foremost task of a political representative is to represent the political views of the people in the district or state they represent. Alas, that includes the selfish side of the people. This is shown annually in budget battles for shares of the public purse.
A candidate whose words reflects the positions of the people is normally the best candidate without further ado. But if there are questions about character defects in the candidate, then the electorate has to take that into consideration, mainly to discern whether or not the candidate’s actions and voting would be consistent with their statements and promises.
If a candidate’s consistency is not an issue, they may still be questioned for their suitability if their character does not reflect the self-image of the people. What if the electorate has to choose between a candidate who does reflect their views but not their self-image and a candidate who reflects their self-image but not their views?
The choice is clear if unpalatable: elect the candidate who reflects the political views of the people because that is the purpose of an election. The integrity of the political process is what is the most important in an election.
Remember that democracies are not refined affairs. For example, promoting candidates with rum was an old trick in the early days of the republic (see here). If representatives reflect the political views of the people, that is sufficient. To insist on much more would be to expect some form of aristocracy.