The US Army Corps of Engineers no longer accepts cash for campsites they manage. The US Government no longer accepts its own currency. That's where we are in the USA at least.
If you live in the US, not participating in the banking system and not having a bank account is not a thing that you can do, except for religious reasons. From the moment you're born, you're on half a dozen companies' radars for credit reporting and scoring purposes, and most of the major purchases that you need to make to survive require a bank account with a good balance and a good credit score.
> An estimated 4.5 percent of U.S. households (approximately 5.9 million) were “unbanked” in 2021, meaning that no one in the household had a checking or savings account at a bank or credit union.
Related: My European bank will ask if I actually need the plastic physical card, and unless I do, they'll just issue a virtual card to load into my phone/smartwatch.