I have been mugged. I lost all the cash that was in the wallet. I phoned up my card company and they immediately cancelled the cards and replaced them within a couple days.
Cash cost me money, cards cost me nothing.
Cash cost me money, cards cost me nothing.
So cards are a form of insurance - in that they spread around the risk.