The only mathematical certainty here is that if you keep voting for corrupt parties, they will keep getting elected. If a few swing elections go in the opposite direction, it is a small price to pay.
We will keep having corrupt government as long as we keep voting it in.