This is a hugely reductive statement and not even on-topic.
Surrounding Russia with NATO allies was also illegal, immoral, and would obviously lead to this outcome, which is what they wanted because now the military industrial complex profits hugely as they siphon gobs of tax dollars and offload a bunch of product they don't even want.
The sanctions combined with COVID protocol crippled established supply lines and the global economy. It was absolutely arrogance to think sanctions were going to work. Completely backfired and fucked everyone over, especially Europe.