back the wrong horse
verb1
Idiomatic To support something or someone that later turns out to be unsuccessful.
- This might mean that I waste vast amounts of time searching for a species only to find that it no longer counted when the new regime is in place. All that effort spent backing the wrong horse.2005, Sean Dooley, The Big Twitch, Sydney: Allen and Unwin, page 32: