Many new gun owners, especially those that get into shooting as adults, start their journey with some sort of centerfire handgun. A lot of drama can go into selection of that first gun as people consider use, fit, budget, and even the “cool” factor of one brand or model over another. I’d suggest, though, that all of that analysis paralysis is better applied to your second gun. Hear me out:
As a new shooter, it’s really hard to know and understand all of the factors that can go into making a gun ideal for you and your purposes. For instance, when someone is getting into guns because they want to carry for self-defense, they have a tendency to want something small and easy to conceal. While it’s true that it may be easier to hide a smaller gun, those little pistols can be difficult to learn how to shoot well and therefore aren’t ideal for someone just getting started.

J-frame revolvers are still popular carry guns, but they’re really hard to master
Assuming you're still on my logic train, then the question is which of the many excellent service and target pistols would make for a good first gun. It’s true that almost any modern handgun will function reliably, for most owners. However, instead of trying to find the perfect snowflake gun, I recommend picking between one of the major full-size, striker-fired pistols in 9mm: a Glock, a Smith & Wesson M&P, a SIG Sauer P320, or perhaps a Springfield XD. Or as I like to put it, buy an M&Glock320XD.

The Glock 19 is a popular first gun for good reason, and is very close in size to the Glock 17 (credit: Jon Hauptman)

This Smith & Wesson M&P was one of the first handguns I bought, and one of the first I sold
Then after you’ve gotten more comfortable with your first gun, the M&Glock320XD aftermarket is quite robust. That means it’s easier to buy holsters, sights, and other accessories, along with various performance upgrades like basepads to increase magazine capacity, magazine releases and wells to make reloading less error-prone, or trigger parts to tune weight and feel. These are often available for other models, but usually only from limited vendors or at higher prices. Starting with a more common gun will let you experiment with less hassle, at a lower cost.

My P320 has been upgraded with a Spring Precision magwell, mag release, and basepads, as well as Grayguns internals to lighten and improve the trigger pull

This is a Chiappa Rhino revolver. How easy do you think it is to find troubleshooting information about it if it breaks?