Right, but as @tfyoung said above, there are costs to the business associated with cash as well. Probably much higher, if a little harder to precisely calculate.
The time and expense associated with handling, counting, and physically banking cash is not insignificant.
It’s that harder to calculate part that makes some business favor cash. After all, the humans running the business are not perfect economic machines. Some people are going to favor a nebulous expense (that they honestly probably didn’t consider at all) over a clear and obvious expense.