I prefer .45 ACP - not a big fan of .40 cal but the police seem to like it. However, I do like to shoot and 9mm is definitely cheaper to shoot. Is this a range gun ? CC ? Home Defense ?
If you really want to shoot cheaply, you'll have to get into reloading. With the current ammo shortage & price fluctuations - may not be a bad idea.