I read a novel (or possibly short story) years ago about a sort-of "cosmic balance" in the San Francisco Bay area. I recall the cover (or illustration) depicting a giant old-fashioned scale superimposed over the bay area, though that could be my imagination over time.
I believe it was by one of the writers in the Cthulhu Mythos world, possibly Derleth, Ashton Smith, Bloch, Long, or the like, though I don't think the story itself was really of the mythos, though there was definitely a feeling of foreboding and, iirc, a certain sense of hopelessness on the part of the protagonist.
I've scanned through the bibliographies of the likely culprits but no title jumps out and Google is no help.