 lost an election. She ran for DA in San Francisco. She won. She ran for Attorney General in California. She won. She ran for re-election of Attorney General in California. She won. She ran for Senator in California. She won. It is true that she did not succeed when she ran for President, but she dropped out before the first contest, so she was never on the ballot. She was on the ballot in 2020.