Cities usually spend a lot more to provide that parking than they make back.
Parking in urban areas is often a net negative; I.e the motorist doesn’t contribute as much to the local economy as the negative externality they accrue.
Most cities have free street parking, at least overnight.