There is noting wrong with a 9mm with proper defense ammo.
It’s a good a deadly round.
A .40 or .45 would have made no difference.
A 9mm with a good 125gr hollow point will push a 1 inch hole clean through you.