As a general rule I've found that most firearms that LEOs like and carry are pretty solid.
....
Probably varies by department, to be sure (I could have sworn I saw a cop carrying a Beretta 92FS back in the day, which is weird because Beretta is pretty fucking expensive as a rule. As a personal carry? Maybe, yeah. But as a duty gun?).
A lot of departments went with the S&W 1066 or variant, before later committing to Glocks or similar, when nobody was quite sure about polymer wondernines yet.
Beretta also went by the wayside when Glock & others could supply pistols & support at a far lower pricepoint. The fact that the 92S's durability was tetchy (although later addressed) when it came to spicy .40 didn't help.
Which reminds me; there are a plethora of cheap cop trade-in S&W 9mm & .40s on the secondary market now, which is nice considering they have nice triggers & soft-shooting characteristics for target fun.
I never did mesh with double-stack duty size pistols though, and instead finding combloc milsurp single-stacks to be much more practical & comfortable.
Personally; I've known a lot of guys who started carrying a 92 (or Taurus copy), and many still do; for much the same reasons why 1911a and wheelguns have persisted as carry pieces..... long after they should've become anachronisms, as early automobiles have gone
Firearms are peculiar that way, and are among the few inventions that either predate or are from the industrial revolution, which are still produced as originally designed.
In any case; my Opa told me once: "There's three things you never sell; guns, gold, land; and never take cash when you sell anything else."