But there's absolutely a way to avoid long-term pain: the aforementioned lockdown/helicopter-money plan. Shut down, have everyone not absolutely essential stay isolated as much as humanly possible, provide direct cash payments to individuals or huge wage subsidies tied to mandatory guarantees not to lay anyone off, provide free health care to everyone affected, and enforce internal travel restrictions to keep outbreaks contained. Countries that have gone down this route are now starting to open back up with minimal death tolls and stabilizing economies.
The US, to put it mildly, did not do this. Practically every level of government of all political stripes completely bungled it. Counties screwed up, cities screwed up, states screwed up, legislative and executive federal branches screwed up. It was a hodgepodge of counterproductive idiocy by politicians and officials of all political parties and ideological stripes. And Wall Street & friends aided and abetted this insanity by whining about how a full shutdown early on would "harm the economy".