It’s how I buy everything. I rarely carry cash. You steal my cash I’m out my money. You steal my credit card, I cancel the card and get a new one.
Small purchases like a couple cookies ( about $1.50 to $2.00) then I will probably pay cash because the store probably loses money if I use a card. The absolute vast majority of purchases I use the card. If I don’t have the money in the bank then I don’t buy the item.