Both things can be true.
Fossil fuels have certainly helped improve the lives of billions. At the same time, the negative impact can't be overstated, and only gets worse with time (the more the climate changes, the higher the future cost).
Additionally, oil extracted in California for domestic consumption doesn't affect third world countries, so it's irrelevant what positive impact it might make halfway across the world.