Gas complements everything well. It's relatively cheap, easy to store power in large amounts and completely dispatchable. Nothing else can do all 3.
Batteries work well for short term day-to-day storage but they're impossibly expensive for seasonal storage which we will need a solution for for the last ~5-10% of decarbonization.
Probably the only way to fully decarbonize will eventually be to synthesize gas.