This is the third rail of Covid discussions. But you are correct. The area under the curve was exactly the same in all the "flatten the curve" vs zero mitigation models. The rationale behind flattening the curve was never to decrease the absolute number of infections.
But somewhere along the way, the goalposts were implicitly switched from "flatten the curve" to "wait for the vaccine"