If someone breaks into my house, I will not have to rush to get my gun because it's right next to me while I sleep. Where it should be, whether it is in a safe or not.
Mine too, but what if you have to go to the bathroom?
Again this isn't about having your only gun stored there.
But if you keep a handgun by your bed, you could keep a shotgun in a safe in the kids room. That way you avoid the risks of moving through the home with a long gun, be still have a major boost to your firepower once you reach your Alamo.