How Elections Drive Out the Good Guys