Is there a word or phrase used to describe someone who has many great ideas/arguments, but who ruins their case with one very bad idea/argument?

One such case I'm thinking of is Bernie Sanders, who has many great policies, but who destroys his popularity with many voters because of his overly controversial gun control policies.