Investing through different economic cycles