Obviously.
Living at a hotel is also cheaper than an apartment if we consider the cost of rent, a bed, electricity, water and etc.
But living at a hotel is obviously not cheaper than renting an apartment. Perhaps for a couple of days, but long term it will get much more expensive.
As with fast food.