The real fault lies with institutions rushing to half-assedly digitize so now they're wide open to script kiddies, and with enterprise IT providers doing a piss-poor job at doing correct software engineering. And now you're suggesting more savagery like it's some sort of solution to anything at all?
The war on drugs is bad because it doesn't work, and because drugs cause less harm than fighting them does. It's not an apt comparison to the situation we're talking about.
Which of the following causes more harm in total: (a) a ransomware gang attacking the computers of a hospital, thus endangering the lives of its patients; or (b) law-abiding citizens adhering to a historically contingent economic system which leaves millions of people without access to healthcare?