There's a lot of infrastructure and expense necessary to make cash work. There's also more potential for risk, error, and loss with cash.
That doesn't mean that cashless is better, just that we shouldn't forget the other side of the equation. There are sound reasons, completely unrelated to government control, favoring cashless transactions.