Bet on the wrong horse

To misjudge a coming event, to misread the future.

I think that my uncle bet on the wrong horse by investing all of his money in the new stock.