Gas stoves are also slower than electric stoves for cooking (not, as is usually assumed, faster). And even if you don't care about the climate at a large scale, they're beneficial on a personal level because gas stoves can quite significantly reduce your indoor air quality in a way that electric simply does not.
That, plus the economic arguments made in other comments, plus the broader climate arguments, basically make it a no-brainer: there's no reason to be using gas for cooking in 2023.
I don't know as much about the gas for heating argument, though considering heat pumps can be up to 500% efficient it seems pretty unlikely that gas will fair much better for heating than it does for cooking (except, possibly, for some of the most extreme cold areas—much colder than any of Australia's major cities).