I don't rely on the police force to protect me, that's not what they're for and they're not particularly good at it. That's not to say they don't try, but they've got a lag time on their response and they're only human. The police are there to make crime more risky and therefor undesirable, and to reduce the amount of time a criminal has. They don't necessarily protect you from the crime that is happening right now, but they reduce the likelihood that you will be a victim of crime. In my jurisdiction, the police are pretty damned slack when it comes to chasing down burglars, they'll catch em if they find them, but when I got robbed we saw forensics take a quick look for prints but no uniformed officer ever turned up, that's not abnormal, if you weren't in the house with them, they wont' send anyone. Cross the line into harming people though, and the cops are all over it, so rational criminals know to avoid houses where people are home. Getting broken into sucks, but it's only stuff, and that's why I pay insurance premiums.
Guns can sometimes protect you, but the problem is that they're also not particularly good at it either. If you store your gun safely(gun safe, trigger lock, unloaded, ammo in a separate location), your response time isn't actually going to be a lot faster than the police(presuming of course that you live in a middle class white neighborhood, if you live in the ghetto you'll see retirement before you see a cop). If you don't store it safely you're substantially more likely to shoot yourself or others than you are to ever actually need it for self defense(this goes double if you have kids in the house). Even if you do have a gun, if you wait long enough to know who you're shooting you probably have at best a 50/50 shot and you've just escalated what might have been just a robbery into someone leaving dead. That's assuming that the person who wants to kill or rape you is a stranger breaking into your house and not someone you live with or someone with legitimate access(which no gun will ever protect you from). On top of that, every legitimate gun you have on the streets provides another source for criminals to get them(where do you think illegal guns come from?) and makes the society as a whole more unsafe.
I get that you want to protect yourself and your family(if you have one), I sure do, but if you want to be safe, your best bet is to GTFO and call the police, your likelihood of walking away from a shootout unharmed is minute unless you act in such a way that massively endangers others(keeping a loaded gun unsecured, shooting at shadows, etc), and even if you do.
Some day I might be appallingly unlucky and have someone enter my home by force when I or my family are still in it, I live in a reasonably safe city in a reasonably safe country(guns are not banned here, but are heavily restricted, gun crime happens, but it's rare), but it may happen. It may happen that I or a loved one are hurt in such an event, perhaps in appalling ways, but to be honest, I'd rather face that possibility than face my son shooting himself with my gun or accidentally shooting him if he comes home from university in the middle of the night some day. I'd rather run and feel like a coward than risk my family by trying to protect them from something which is incredibly uncommon even in the US, let alone here.