You don't even have to go so far back. In January 2022 few believed that Russia would invade Ukraine because Russia was heavily depending on exporting gas and oil to the EU. The sanctions in 2014 for the annexation of Crimea were deemed to scare Russia away from doing so.
Then Russia invaded anyways and is apparently now in the process of doubling down by mobilizing hundreds of thousands of fresh recruits.