The main argument for renting vs buying a house or apartment is that you don't lock yourself down in one place. In my country it has become quite common for people to change their job frequently, a good friend of mine for example lived in 3 different countries over the last 8 years. Owning an apartment in such a case would make it much more difficult to switch cities and accepting a new job. Renting instead of owning gives us a lot of flexibility and also is less cost that we need to pay each month. When buying an apartment or house it involves usually 80% of borrowed money which can take a very long time to pay back. Especially now in times of inflation rates of 10% the borrowing cost can increase quite a lot down the road. It can take 30 years to pay off one house and is going to put a lot of constraints on us.
These advantages will be relevant if you are talking about renting, if it is possible to buy a home without a loan, then everything will be a little different. Monthly payments will be smaller, it will only be utility bills, and in the event of a move, you can sell housing, although in this case, if the sale is urgent, you will most likely have to lose a little in price in order to sell quickly.
But then you will have money to buy a home in a new place where you will move. Although if I had to change my place of residence so often, I would definitely not think about buying a home, I would rent it. At the same time, you also need to take into account working conditions and wages, how profitable it all is.