Are Glocks 'perfect' guns? No. They are service grade tools that are reliable and accurate enough to get the job done and cheap enough to be readily accessible.
For years, Glock (wisely) did everything they could to capture the LE market. They offered aggressive pricing and more importantly for the politicos, a generous trade in program.
Glock also benefitted from early noteriety of the G17 by gaining mindshare from a number of disinformation campaigns ranging from X-ray transparency (metal slide) to being the first polymer gun (HK VP70 1968). It gained a lot of allure from the NYC ban and being favored by rappers. Given the success of the G17, Glock shrunk the gun into its subcompacts, and stretched it to accomodate every caliber they could, plagarizing the same design over and over.
With the internet came the famous videos made by spoiled kids abusing their Glocks (snow, sand, being run over, etc.). At which point Glock reliability became legendary. The reality is that Glocks are no more reliable than any modern polymer pistol be it P99, XD or USP. Making a gun reliable, you assemble it to loose tolerances so everything works, every time, no break in mandatory. To make it accurate, all the pieces fit tightly, requiring extensive break in with hardball to make it reliable.
If you belong to the cult of low bore axis, the Steyr M-A1 (in 9 or 40) is the true low bore axis standard in poly guns.
The overwhelming Glock marketing juggernaut drowned out a number of gaffes from an unsupported chamber causing KaBooms, especially in .40, to the redesign that added finger grooves to the grip making the gun unpleasant for people with small hands or fingers of differing lengths, to the introduction of the G21 that would only fit the hands of NBA players.
If your hand fits the Glock's blocky grip, you can stand the mushy trigger and you shoot one accurately... go for it. In the end, the bad guys you shoot with a Glock in SD really don't care. Just make your choice based on whether you shoot one well, not because you've been sucked in by the marketing, rapper videos and peer pressure.