It’s not.
But when patients have Medicare, the hospitals actually have a paying customer who can pay for all of the free care they are required to provide to others.
Not for Profit Hospitals are going bankrupt providing care to the indigent. Something needs to be done about that. I wonder how many indigent patients are seen at Mayo’s.