One good thing about index funds is that a lot of the companies they invest in are global, so when the piper turns up to demand the trillions of debt the US owes, those companies will be best placed to weather the run on the US dollar that will inevitably follow.
And as you suggest, downturns like that are generally only temporary anyway, so long term holders can await an inevitable recovery anyway.