At first glance, mining appears to use a lot of energy. But it has a very important property:
mining is "fair" in money generation.
And being fair may be much more important than the energy consumed.