Going with your analogy, this would be the same as if police basically ignored all home invasion/trespassing laws such that the only houses that criminals entered were in fact those of undefended home owners. In this scenario, it would be demonstrated, by this policy, that yes home owners need to own guns to be safe.
To your point, if you don't want a world where it's safer for home owners to own guns, than you need to ensure there are policies in place to create a world where that was true. The lesson of Ukraine and Iran is that, if you don't have nuclear weapons, your sovereignty is always at the mercy of nations that do.
A world where every country needs nuclear weapons to remain sovereign is similarly undesirable (on a larger scale) to a country where every home needs to have guns to be safe. However we're on a path with nuclear weapons where that is unfortunately not the reality we are creating.