The 9mm isn't going anywhere ever, not until guns are no longer using brass cased, self contained cartridges. No other chambering will replace it. The 10 tried and failed. The 40 tried and failed.. the 357 sig tried and failed. Glocks ain't going anywhere either....ever. They just aren't. Logistics, effectiveness, universal popularity and acceptance worldwide.
My choice in an auto is the 1911 45 and prefer revolvers above them. But I'm not a cop or a soldier. I have Glocks and 9s, just don’t prefer them. However, I know they work well and have clarity in the reality the 9 ain't going nowhere.