The Beretta was always a bad choice for the military. Not appropriate for dirty environment, more difficult to train with being double/single action, tends to ‘get dry’ and have malfunctions if not well lubed. Just not what I would want for a firefight.
Its ok as a range gun.
Disclaimer - I have a M-9. And I am trained to run it, but its no match against a Glock for time from in the holster to shots on target. I used the M-9 mostly for training students in double/single action operation now. And of course many of us just have to have one of everything military. :)
I have owned several Beretta model 92s. They are basically the same gun as the M9. They are anything but unreliable, including in the worst conditions.
My Father worked at Eglin at the place where they were testing them before they were adopted. The most reliable gun they had ever tested. Even more reliable than the Sig tho they were close.
I have larger than average hands and the grip is just a little larger than I would want. Other than that, the best gun in the world.
I do agree that a Glock is marginally quicker to fire the first shot.