I've watched my friends get hacked countless times. In the end everything gets taken care of, but for those few days while everything is cancelled or locked down they're broke. Which makes it hard to buy diapers. But fortunately they've got family in town. (I keep lecturing them about using cards at gas stations...)
I've been the victim of credit card fraud once. But I've had cards preemptively cancelled multiple times because they were used at companies that got hacked (target, home depot, etc) I've also had cards cancelled because the issuer (usaa) was switching from mastercard to visa. Sometimes you get notice. Sometimes you don't
So my solution is to keep multiple credit cards and multiple ATM cards. Two of which are normally left at home. Or if I'm travelling the backup cards are deep inside my backpack. If I get hacked or lose my wallet I still have options to pay for things.