Some assets may perform poorly under certain conditions, but there may also be other assets that perform outstandingly under the same conditions, thereby compensating for losses to some extent. This is the concept of risk diversification emphasized in asset allocation. Simply put, it means not to put all your eggs in one basket.
Although this approach cannot completely avoid capital losses, it is widely regarded as a strategy to enhance the potential returns of the overall investment portfolio while managing risk.