I find it so much better than D&D 5th edition in terms of character flexibility, crunch, meaningful progression, system design and overall versatility, that it saddens me that D&D is still so much bigger. For me, it shows what D&D has failed to do since the end of 4th edition (which was a good edition, even if the 3rd -> 4th edition was a spectacular failure on so many levels).
I do think Pathfinder is slightly too closely linked to Golarion, but I suspect it simply isn't commercially feasible to separate the setting and the system with the current size of the playerbase in mind. I think that's a shame - the system is good enough to work for homebrew and "ported" settings.
Of particular note is that the Pathfinder designers are less hesitant to add more classes than the D&D designers. I like this. It's ok that some classes overlap. As long as the core classes are good, it's fine to have tables opt in and out of the additional classes.
As for the setting, I think it's good. Not perfect, but good. I wish it didn't have the sci-fi elements (androids, crashed spaceships, Alkenstar, etc.) but one can always play in a different part of the world and/or homebrew those elements out of the setting if everyone in a group agrees.