bet on the wrong horse

bet on the wrong horse (misread the future; misjudge one's chance of success ) — поставить не на ту лошадку; просчитаться

Example: He really bet on the wrong horse when he found an unreliable partner for his business.