To paraphrase RAH (since I don't have the book handy) it is
better to vote for a
dunderhead of your own party, so long as he is subject to party displine and lacks such moral flaws as to render him a menace to society, than a genius of the party opposing.