Both are great. I own a Beretta and would never bash a Glock.
Try both and see what feels best.
Glock would have a better aftermarket support group.
Beretta does have the decocker.
Glock is available in almost every caliber.
Beretta only 9 & 40
Both are great guns but the slide mounted safety of the beretta is a deal breaker for me.