An isolated outbreak on a cruise ship? That should be the bare minimum a country should handle. Note that Japan doesn't have any organization like the CDC- they aren't prepared for anything.
Japan or rather their govt screwed it up. But it's very hard to deal with thousands of sick people, no doubt they had no facility big enough. They should have seen this as an extreme emergency and either used a military base or taken over (renting) a large hotel. These are emergency situations.
And it speaks volumes of politics and power hierarchies in action and under-performing as expected. This could take different but similar bad turns in any of the first world countries too having a less population factor unlike in china but with deadlier virus or catastrophe. I hope we all learn something from this besides pointed fingers. The world we live in is still very fragile and I think we it would be great if we concentrated our collective energies on something constructive in this direction.