This line of reasoning keeps popping up and something about it bothers me - why go to war when you can get what you want in other, cheaper ways? It seems likely the correlation is real but so far no one has adduced any reasons to assume the causation actually goes the way they assume.
If you note that what Russia wants is Ukrainian territory (first Crimea in 2014 and then a land connection to Crimea in 2022), that was guaranteed to involve some amount of war. That will give you everything you need to infer the correct direction of causation.