From my perspective Glocks are the best for the purposes of my agency.
I hated Glocks until I went to the Police Academy with a Glock 22. HK was it for me. I was an experienced shooter, but over half of my class had never fired a gun (yes, that should scare you). In a matter of a week a couple of instructors managed to turn everyone in the class (except the one person not shooting a Glock) into decent shooters.
I am now in charge of maintaining about 150 Glocks for our officers. 3/4 of them never shoot except when we make them. Their guns are abused, neglected, cleaned once a year during armorer maintenance, carried every day in the snow, rain, sleet, mud... And they still work every time.
Glock sends their rep to US and teaches US to work on the guns (the armorer school is only one day). They sell us parts at a discounted price. Despite some officers best efforts, none of the guns rust (granted, it is a bit dry in Arizona). They just plain work. Reasonably accurate (for our purposes), superbly reliable, easy to maintain, nearly indestructible (don’t drop an open slide on a concrete floor), and cost effective.
We looked into other brands, tried them, shot them, and turned them down. I believe some of the other guns are as good (we tried the S&W M&P and really like it), but no other company offers the complete package that Glock does. That is why I say there is no better gun for OUR purposes. It could be a different story for individual users.
As a side note, we got to shoot the 4th Gen 22 last fall before they officially existed. We were very impressed and couldn’t believe how much recoil the new spring took out. Still more than a 9mm, but definitely less than a 3rd Gen 22. The new frame has a much better fit for small-handed shooters, but still isn’t quite the glove fit of a Sig or CZ. We can’t wait to get them in.