Earlier quoted context omitted.
It's not equivalent since you're already alive. Not producing a child isn't the same as killing one's self in any way.
Of course it is. You can immediately and permanently eliminate all of your CO2 production going forward. That's a big help to the world, not very useful for yourself though. Obviously if we eliminate humanity we also eliminate humanity's impact on the world. You can also get rid of all bugs in your code by deleting the code. That is the exact definition of throwing the baby out with the bathwater though. We're lookin…
"One fewer child"
So instead of 3, have 2. If you were so inclined to have a vasectomy or tubal ligation after a 3rd child, it would help the overall situation.
It's about lowering the growth rate in human population. Similarly, your analogy to code is incorrect. It's about eliminating new bugs but reducing the number of commits.