Real estate has traditionally been thought to be a smart long-term investment. This is due to the fact that housing prices have a long-term propensity to grow. These increases are also typically bigger than inflation, implying that you are genuinely making money.
The world, especially global markets, were, however, rocked by the pandemic that swept the globe. It has had a significant impact on various industries, and you are correct to be cautious about investing.