In any case it doesn't matter, the real question is: Are you prepared to live without access to your credit cards, to not having any 240V to charge phones, tables, radios.., not be able to buy fuel for your car... and for how long?
Two weeks ago I had a 41 hour power outage as a result of ex-Cyclone Tam. In February 2 years ago I had a four day outage due to Cyclone Gabrielle.
I can easily use a generator and/or large battery to keep my fridge and computers and internet going -- I don't currently, but I've been seriously studying the market in the last week! Things have been changing very rapidly the last few years. The newish Ecoflow Delta 3 Pro (4 kWh battery, 4000W inverter, up to 2600W solar input, NZ$5600) looks quite attractive, but the Pecron E3600LFP is only slightly less capacity (3 kWh, 3600W output, 2400W solar input, NZ$2900) and seems to have all the same features at just over half the price. It can also be expanded to 15 kWh of battery even cheaper again ... NZ$1600 per 3 kWh ($533/kWh) vs NZ$4600 per Ecoflow 4 kWh extra battery ($1150/kWh).
Either of those would run anything in my house, though not all at the same time! Last year I averaged 13.7 kWh/day (570W), surprisingly maybe 1 kWh/day more in summer than winter (summer aircon, winter dehumidifier + wood fire)
Either of the above units would get me through a 6 or 8 hour blackout, or actually 18-24 hours running just the fridge, computers/internet, and lighting in one room (4.5 kWh/day, 190W).
They would also get me through the 7 AM to 9 AM and 5 PM to 9 PM periods every day when electricity is 60.58c/kWh vs 30.29c from 11 PM to 7 AM (and 36.34c 9 AM to 5 PM and 9 PM to 11 PM). That, all by itself, would save $250 of electricity charges a year which while not enough to fully justify the $2900 investment does offset it quite a lot if you want the resiliency anyway.
A generator would be cheaper if needed just for power outages, but one of these battery units would allow either running a much smaller generator (1 kW or less, <$1000), or a larger one for only a few hours a day and at the load for optimum efficiency rather than inefficiently and noisily idling most of the time.
I'm starting to see solar panels for as low as NZ$1/W or $200/m^2 ...
https://www.marine-deals.co.nz/solar-panels-chargers/voltify-mono-perc-solar-panel-200w-1480x670x30mm... though most are closer to $1.50/W. Internet says my location can generate 0.5 kWh/day/m^2 in mid winter and 1+ Nov-Feb in a fixed position (facing north, 35.5º (latitude) tilt) so maybe that $200 panel can generate 240 kWh/year worth $80 at off-peak daytime prices. That, again, is not enough to justify an entire $3000 setup, but it's a very nice incremental addition to a fundamentally time-shift and emergency system, with just a 2 year incremental payback period.
I'm not sure if batteries and control electronics are going to get much cheaper, but solar panels probably will.
I'm aware that doesn't fully address the question about if *everywhere* is without electricity. My normal situation is the rural areas like me lose power but cities keep it (except perhaps very briefly).
I normally buy food once a week anyway, and could if necessary live off rice and pasta and noodles for a week or two more -- I always have plenty of those. Onions and potatoes too. I normally fill my car (700 km range) once every six weeks and my 250cc motorcycle (300 km range) once every two months. The chances of both being empty if something prevents petrol stations working are low. The 5l fuel I normally have on hand for the lawn mower will half fill up the motorcycle (both use 91) -- and easily fits in my rucksack (that's how I take it to fill it ...) considerably increasing the range of the motorcycle.