In fact, based on the initial footage from Wuhan, countries should have adopted more stringent protocols when they repatriated their nationals, i.e. quarantine on arrival etc... If in doubt throw everything including the kitchen sink at just to be sure. But it is what it is. I just hope we've learnt from this and are prepared for the next one.
There was a lot of wishful thinking and denialism back in January/February 2020.
The only country that got the initial response right was North Korea, they shut all their borders, and were mocked for it too.
Also, something definitely seems to have gone seriously wrong with Italy's response - they were detecting zero cases up until way too soon before their hospitals collapsed, which suggests they were doing a worse job of testing people hospitalized with potential Covid symptoms than even the US which had screwed up so badly it had an official policy of not doing so due to test shortages. Trouble is, Italy is currently run by the kind of technocrats the media likes, so there was no incentive to drag them through the mud. Instead the press spun other countries as worse because they weren't caught by surprise like Italy and so should've done better, without asking questions about how that surprise happened exactly.
Overall the idea the hospitals collapsed seems to have been a form of telephone game exaggeration, egged on by media reports claiming there were so many bodies they were piling up (actuality: undertakers were refusing to touch bodies because they are mostly old and had been told it would kill them).
What did collapse were care homes. But not because of COVID. Staff fled in fear, often back home to Eastern Europe before the borders closed, leaving too many elderly to die of dehydration and abandonment.