Good would be not generating it in the first place. Solar is the only answer. We only have one energy source to play with, that is the sun, the energy that created, and still creates everything we know, and it comes for free, and it is clean.
Notice we only get output of toxins when we de-create what was created with it by nature.
If we create fuel by it ourselves, like green hydrogen from solar powered electrolysis as used in fuel cells for example, there are no toxins generated, and we can burn that fuel we created ourselves with no production of toxins, we can even breate the exhaust fumes of it burning.
https://www.plugpower.com/fuel-cell-power/fuel-cell-benefits/
The fact we can generate valuable money with the electiricity from solar also in the form of proof-of-work tokens (i.e. Bitcoin) invalidates all arguments claiming it has a cost, actually it is even better than free, it generates money, and there are no batteries needed, with green hydrogen fuel technology, and no toxic materials or processes needed for solar panel manufacture, when that also is itself fueled by solar power.