It's a balance between individual rights and societal safety. You have a right to defend yourself from threats to your life and safety by using deadly force. To say otherwise removes the ability for a good chunk of the population to adequately defend themselves. I'm related to plenty of people who cannot defend their life against the average male aggressor without a gun, and you are too. At a certain point size and strength are insurmountable.
But yes, encouraging people to responsibility engage with firearms for self defense use means that there will be more guns floating around, which means more accidents, suicides, and murders. Just as with any other choice for the rules of society, it's a trade-off. How much do we value keeping the right to adequate self-defense as a universal right? How much do we value preventing accidental injury and death?
The classic comparison is cars, simply because the annual death numbers are similar, and pretty much no other reason. But even so, we can draw parallels. Cars have mandatory features that reduce the likelihood of injury without impacting the usefulness or general experience of using a car. So too do guns, with nearly all guns having to meet industry requirements for safety, like being able to handle an overpressure event, and being drop-safe.
Cars have a licensing procedure (though it's essentially a joke here in the US) and a licensing procedure would be fine for guns, so long as it can't be used to restrict access (racist approvals and denials would become a problem in a hurry). My ideal licensing program would be a free handling skills course where failure would require some sort gross negligence, and even then you'd still get racist denials.
And really, this is the fundamental problem with guns: I (and many others) view them as a necessary tool to accessing a highly valuable right. The chances you'll need a gun are very low, but the cost of not having it can be very high. You don't have full control over whether someone else will attempt to take your life, and I don't want to say to a large chunk of the population "we're going to take away your ability to defend yourself in order to save other people who would still have that option either way."
And I want to be clear, I completely agree with the other person. If you're going to bring guns into your life, you had better learn medical skills, social skills, and you had better train with your firearm in somewhat realistic conditions. You should carry pepper spray, you should practice learning how to actually effectively calm people down, you need to learn how to safely store your guns and ammo, etc. Etc.
I get the desire ban guns in order to save lives, but you'd also be endangering others. Compare that with the car analogy, and banning cars would have a similar trade-off. Some people would live thanks to not getting in a car accident, others would die thanks to not having the same level of mobility (which has about a billion knock-on effects for quality of life).