They may move in tandem, but they are not in lock. If there is a shortage of talent even without inflation, your market rate will rise. Likewise if cost of living increases, but there is a surplus of talent—your compensation can still fall.
Almost anyone browsing this board makes far more than the cost it takes to “live”.