Coming from a precision rifle to a Glock will be…. ‘Interesting’. Lol!
If you’re set on 9mm, buy something popular. Easy resale if you change your mind down the road. I always suggest to start with a .22 because it’s easy to develop a flinch with a 9mm as your first gun. I see it all the time. As mentioned by others, look at ammo cost as part of the equation. I shoot about 12,000 rounds of 9mm each year. Not sure what you’ll shoot, but if you shoot even a decent fraction of what I shoot, you’ll see that 9mm ammo $ will very quickly pass the price of the gun. Don’t cut corners and buy brand X to save $150 on a gun. It isn’t worth it. Look for good parts availability, holsters, etc.
This advice should be cast in bronze.
Even if you reload, the initial price difference between gun A and gun B will become a rounding error very soon, compared to the running costs.
CZ Shadow is a decent option. There are tons of second hand Shadow 1 on EE, and sometimes you can find a deal on Shadow 2. Both are easy to dial in for most hands, tons of parts, holsters, etc., and good resale value should you decide to switch to something else. Add Kadet .22LR conversion kit if desired.
Glocks are reliable (usually), but their stock triggers are designed to be carried safely in the first place. For a novice pistolero, a trigger like that could make it harder to identify and pinpoint basic errors.
Re: dedicated .22LR - Ruger Mark 4 is a good option, I think. But it costs about the same or more than a CZ Kadet kit, and the latter allows you to use the same lower as the main 9 mm rig. Mark 3 and previous generations are ok, but taking them apart for cleaning gets old very quickly.
I own or have owned all of the above, and have shot a few others. M&P 9mm striker - gross trigger, Norinco NP22 (Sig P226) - not bad for the price, but needs Sig guts. Browning Buckmark .22 - decent, don’t know how involved the cleaning is. 1911 variants - black hole constructed of Lego, step in and you will never see light again
