While it is true that a lot of real estate transactions used to happen in cash, one of the major increase in housing prices was easy availability of credit. Banks would extend credit to both the developers and buyers. However the developers weren't required to repay the loans as they were extended, allowing them to sit on the inventory and keep increasing prices.
While the cash crunch has contributed to decrease in RE prices, the banking/NBFC NPAs are also equally responsible.
I find this vilification of cash naive and disingenuous. Naive for those who do not understand that many who deal in it earn too low to be taxed. Disingenuous for those who understand and still propagate this myth.
Governments want to get rid of cash because it is a debt to them and they cannot easily confiscate it as they can money lying in a bank. Also cash provides a little safeguard against negative interest rates. Also transactions cannot be tracked or taxed. With digital transactions, the payment processors introduce a 1-2% tax on the economy.