This experience actually means the very opposite: the largest military power was unable to stop such a sensitive attack and will be unable to rule out such a possibility in the future. Precisely this is the background to the United States' military interventions.
We do not yet have the solutions to these questions, but the awareness that we live in an endangered world is present in more and more life situations.
Western countries in particular can today no longer be separated from Muslim societies, because they have them within themselves. They are themselves internally globalized.
When they come to Europe, they are confronted by still closed borders. Thus, the concept of open borders is a very selective concept, one that is not taken seriously at all in the experience of non-Europeans.
You need education. You need subsistence protection. We need jobs and social security. These are preconditions under which it will perhaps be possible to deal with these complex circumstances.