Shoot them both and buy the one you like the best. I like glock better for a defence pistol. Nothing to switch on or off and a better trigger pull , first and all the rest. Did not care for the grip angle but rounds down range took care of that. Just note that the glock 19 has a grip thats a bit shorter but still a full grip and can use the large mags.

And you also may want to look at the ruger sr9c I took the advice off of here and it is a great weapon and you can change the grip size with either a 17 round mag with grip extension or small 10 round mag I carry it with the 17 round

I owned a m9. Here's my breakdown. Great accuracy. I had tool tech install trijicons in mine for 160.00 and it was great buy. The Beretta also has so much customization you can do with it. Grips, barrel, hammer, trigger, mag release, recoil assembly. I changed my grips to the aluminum ones from Beretta website. Awesome grips. Hands down. Also bought the ext mag release. Went great with the checkered aluminum grips. Had trijicons installed. Steel recoil assembly. Was going to polish the barrel but held off. And couldn't get the skelotonized hammer because Beretta was out. Also had the 22 kit for it. It was hands down my fav gun to shoot. I have never once had a problem with jams or extracts with it. And I don't know why people think its too large of a frame to hold. I have med hands and they r pudgy and it fit like a glove.

Downsides were. When I cocked it I got my hand cut by the slide a couple times. Barrel is exposed and gets hot and can burn u. Decocker is loud. Hammer is kind of hard to pull back. Lot of tension. And when field strip the recoil assembly can shoot out very easily if u forget to hold it in. Trust me. That part sucks. Almost put a hole in my TV. And the gun is very long for a 9mm. But I still loved it. I just loved my sig better.

Glock= its a glock. Always goes bang. Plain. Won't be cold to the touch in winter. And it will take a beating better than butter bean.there's a video from fps Russia on YouTube. He freezes, burns, shoots it with a 1911, uses as a hammer a glock21 and its still intact. Until he blows it up. The slide was still good but the frame was done.