If it’s worthless than I’d prefer to have the stuff I’d need it for stored up. Even if the country declared bankruptcy and restructured debt the dollar would still be used. Now it might lose comparable value against what it formerly was but that can also be hedged with market investments. Imo in any situation where gold would be necessary for commerce the USG would first declare it illegal as tender to protect the dollar.
Feel free to prepare as you wish. Definitley food, guns, ammo, rural land, meds, fuel, power.