What does Back the wrong horse mean?

Back the wrong horse meaning in Idioms Dictionary

If you straight back the wrong horse, you give your assistance on losing part in something.