Why would you think a massive infrastructure investment to convert the nation to green power would hurt the economy? It would be a huge years long jobs program that was entirely unable to be outsourced. We would literally save the planet and our pocketbook at once.
Um...no. It would divert resources from other activities. Worse, higher energy costs will significantly hurt poor people everywhere, and the inability to use cheap energy will slow the development of economies in poor countries, causing millions there to continue to suffer.