Imo only the US, China and partially Russia (and maybe India) can be really autarchic, all of these countries that span almost an entire continent (or a big part of it).
Not sure if there's a solution to all of this, from Europe's point of view. Ideally by this point we should have had a genuine political and societal union (I'm from Romania myself, another EU member), but that has failed, it is failing (of course that the powers that be refuse to acknowledge that). Without that genuine political and societal union one cannot have an autarchic Europe.
This conflict can again strengthen the european institutions and maybe result in some more reforms for the EU (and hopefully some democratic advances, although unlikely considering orban etc.).
They will (probably)get there, but they're not at the big leagues just yet.
Russia was thought to maybe be at that level, but the war is showing how hollow their military is, and maybe how wobbly their economy is.
Essentially, I'm saying that the last part of your argument falls under the "vaguely gesturing at imagined hypocrisy" category.
That crisis was caused by instability in Middle East. Which was caused by several other factors like climate (farms without water in Syria) and international politics of Russia and USA. But like now everyone was blaming Germany.
But I suppose you solution is to just kill all the refugees by letting them drown or whatever. Which, I suppose, is one way to solve a perceived "refugee crisis", but it wouldn't be my first choice.
The US has a 650 mile border wall with Mexico exactly for this reason. Most of this border barrier was actually built during the Obama administration, Trump just used it as a campaign objective to build a "big, beautiful wall" instead of a fence.
A fence does not necessarily bar a country from accepting refugees, but offers better border enforcement and so does an adequate coast guard. If a state can't even enforce its borders, there is no state to begin with. When human traffickers are discouraged, they'll look for other sources of income.
I'm not for building fences and walls, but I can't really imagine other alternatives that actually work at enforcing borders at least to some extent.
So we are dependent on Russia for Energy, on China for Manufacturing and industrial demand of our most important industrial sectors and are protected by the US from a National Security point of view.
The army is a national laughing stock, the car industry is begging to be disrupted, and chinese equipment and machinery companies have completed their IP theft programs and are now almost at par from an innovation level.
All while international media hailed Merkel and her useful idiots for their international leadership.