I don't think you understand the scale or complexity of drone swarms. They aren't stopping a flying or submerged drone, they are often fighting dozens of them at once. Even the US is having issues with drones against Iran. Nearly every navy in the world is still learning to combat drones.
Would you have made similar statements a few decades ago about how any navy that gets hit by torpedoes shouldn't have any business being a navy?