One way to think of it as energy spend on activism for integrity. Many governments, tyrants and thieves would stop at nothing to corrupt the integrity of the chain. By sacrificing energy we make it very difficult for them to do so.
It is not the energy or work itself that is valuable, but the requirement that an adversary outwork in order to inflict a negative outcome.