The majority of countries out there have made slip ups. Australia, which has fared better than most, had several "The Ruby Princess" and a hotel quarantine breach. They're still managing to tear each other apart politically even though the total deaths for Australia (pop 25 mil) is 909.
In some ways I think we've gotten off lightly with this pandemic. It could have been Ebola, or with similar survival rates.
We've actually proved as a global society that we can all pull in the right direction -- vaccines, etc. Has it been perfect? Not even close. Has it been worse for minorities and lower socioeconomic groups? Absolutely.
We can only hope, and plan that some of these things are a catalyst for changes that protect us next time, and make the world a better place in general.
The one thing I have continuously relearned about this virus is that pandemics are incredibly complex. It makes sense the pandemic spreads into every context humans place themsleves in.
I feel like Sweden (the world?) wasn't well prepared for a pandemic. Hopefully we can prepare better for the next one.