 Kamala Harris, when she's been on the ballot, has never lost an election. She ran for D.A. in San Francisco. She won. She ran for attorney general in California. She won. She ran for reelection 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.