I saw all that coming though and had been adding a few extra bits to my weekly shop for some time. However, I’ve always had ‘backups’ in the cupboard and bulk buy to get good deals through out the year. I have the funds for that as I budget for everything( ridiculously). 
Different things work for different people. It’s just our own experiences I guess. I get this from my mum who had been in a terribly abusive marriage before my dad. She learnt to never be caught out. She instilled it in me...