Electrification is only beneficial if it achieves one of society’s goals without harming another, the author writes.