The A320 costs about what the 737 costs and it has a flight envelope protection system with much better safety. It's had problems in the past that Airbus has learned from and that Boeing has applied to their newer airliners, but that Boeing got amnesia for when it came to the legacy 737.
(The A320 fly-by-wire also improves fuel efficiency, lowers maintenance costs, rides out turbulence to improve comfort, etc.)
Also the lack of safety has not saved anybody any money. I think now Boeing is saying they've lost $8 billion because of the MAX problems, and if they took that plus what they spent to make the MAX they could have been a clean sheet replacement for the 737.
People are so used to the 737 that they don't realize what a backwards airplane it is. Every other airliner from every manufacturer makes some claim that it is comfortable on their official web page. The 737 doesn't because it is the least comfortable airliner (and thus is the baseline everything is compared to.) The 737 is loud for passengers, pilots, and people on the ground. The A220 and E190 are smaller planes that are much more comfortable because they are designed around the human body as opposed to 1960's aeronautics. Compared to a clean sheet design, the 737 wastes fuel, causes excess global warming, has a higher seat-mile cost, and it makes everybody miserable while doing so.
The 737 is what secular stagnation looks like.