Cash money still has its uses. I always carry some for tips and for when a business's payment card reader goes down and nobody knows how to process a card without it.
I was paying for services rendered at the optician, and luckily had a wad of cash, but what's the user story there other than wait while they call support? I guess they could have invoiced me.
Since the pandemic especially, a number of businesses don't take cash, only cards, particularly some small breweries and independent fast food places in our area (Silicon Valley). I guess if the card readers all go down they are out of business until they fix it.
Online fraud prevention is the most important part of online card processing, and can't be done offline.
It was done offline for decades.
All the world's computers talking to one another is far more recent than credit cards.
Having money with you though is good in emergencies. Carrying a one dollar, five dollar and or a ten / twenty though is always a good idea.