No, mining computes useless SHA256s. It's only purpose it to decentralize block production which can be done with POS or other consensus mechanisms.
The belief that mining somehow "backs" or adds value to bitcoin is like a cult mentality. "The bitcoin algorithm does jobs currently held by ..." - except these parts can all work fine, you just skip the part where you do a billion hashes.
The entire Bitcoin network uses less energy than one out of thousands of large banks like the Philippine National Bank.