As far as comparisons go, let's try this on for size.
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?