The objective of proof of work is to generate consensus on which transactions have gone through, and thus who holds what balance, without relying on a single central authority. It solved this problem quite well at the time, though as it caught on centralization became a problem due to economies of scale, and more efficient methods were discovered for solving the same problems.
POW based blockchains really were a great breakthrough, but we can do better now.