I'm not sure about that. Sure, the software itself won't, but the hardware needed to run the software absolutely has environmental impact: It drives habitat destruction due to mining the raw materials, pollution from waste by the mining and production processes and than
more pollution when the hardware is decommissioned and ends up on landfills.
Then there is the enormous energy demand of IT systems, which in turn requires more fuel to drive them.
The industry itself is not helping either. Not just is writing resource efficient software often not a priority, it's sometimes even seen as an anti-pattern (due to a misunderstanding of "premature optimization"). In the latest iteration, we have technologies like blockchains that make wasting energy into a feature.
> Your mission is to write software that's so good that people do not need to upgrade their hardware.
Meanwhile, the mission of your superiors is to make sure people upgrade their hardware as often as possible so the revenue keeps coming in.
Before there is a large-scale change of that culture, I don't think software development will be innocent in this.