I'd have to put guns in quality categories rather than make any assertations about which is best. The quetion is like asking which is best, a Mercedes, BMW, or a Lexus. Here goes:
Manufacturing Quality: Best: H&K, Sig. Middle: Glock, Beretta, Ruger, CZ. Worst: Taurus.
Design Quality: Best: H&K, Ruger, CZ. Middle: Beretta, Sig, Glock, Taurus. Worst: Most modern designs are good.
Political Correctoness: Best: CZ, Sig, H&K. Middle: Beretta, Glock. Worst: S&W, Ruger, Taurus, Colt.
I'm leaving several off here. Some good manufacturers are Para Ordnance, Kel-Tec, North American Arms, Kimber, Mauser, Browning, etc. IMHO, most of the time when somebody buys these guns, there are making their choice for other reasons like capacity, concealment, etc.
My opinion, I own and carry three weapons primarily. One is the Kel-Tec P11. Another is the Para Ordnance P-14 Limites. The third is the S&W model 66. I also often carry a pocket 25 auto as a backup or last-minute thought when going to the store.
------------------
God made us in his own image.
Thomas Jefferson made us free.
John Browning made us equal.
Without Browning, we might not know about the other two...