I'm not a US citizen, and certainly no glock rabid fan, but to me is not difficult to understand why glocks are so popular.
It would be difficult to understand if they were not.
"Better" is a debatable term when it comes to guns. The HK VP9 has 63 parts, the Gen 3 G17 has 33. The engineer in me tells me someone went the German way of "why make it simple if we can make complicated". Who really needs replaceable side panes for the grip, or add-on flaps to help rack the slide? The PV9 may be more accurate, but 99% of users won't ever notice it, and 99.9% of users won't notice when the gun is used outside the range.
For a defensive/service pistol, there is only so much you can do better than a glock, and tiny incremental improvements (if so) are heavily outweighed by the low price, super easy serviceability, and availability of guns, mags, holsters and parts everywhere.
If you don't like the "safe action" trigger, obviously go to something else.
Obligatory picture of the fabled Gen 1 G17 used in the Hirtenberger Factory (BTW, they load the 9 mm hot), 342,210 shots and still running:
I would not bet all G17 would last this much, but they are very durable in 9 mm.