> someone has to pay to maintain the infrastructure
Do you know what it costs to run the cash infrastructure? Maintaining physical branches, employees to handle cash, counting machines, counterfeit detectors, security personnel, armoured transport, theft risk etc. The costs of maintaining a centralised digital infrastructure pales in comparison to this. If anything you should get a discount for using digital.
There are other hidden benefits as well. Tax evasion and money laundering become a lot harder in a system that tracks transactions. That can be massive benefit or a dystopian nightmare depending on the people in charge, but for many governments that's something worth throwing money at.