That's true, so eventually you will have to venture out in search of supplies.
by that time most of the zombie apocalypse thing will have died down and (if all humanity died) there would be but a few staggering zombies. So you might be able to get home and find a generator or search for more supplies. In the long term you will obviously eventually die or go insane from lack of social interaction, but I don't think you can stop that.