But you aren't betting on the economy, you're betting on the perceived value of current publicly traded equities. For example, if a company you invest in goes bankrupt, you don't get that money back later when the economy recovers.
Palantir is privately held and thus not super relevant to this discussion.