Europe was a bit customer for Russia energy, and Russia invaded an EU neighbor nonetheless. After which it stopped being the customer. So it seems like that incentive didn't really work.
A practical demonstration of how reliant Europe was on Russian gas, by switching it off.