That’s a pretty extreme. Appartments have a ton of advantages; whatever one values in an independant house can be turned into a disadvantage.
For instance an appartment is easier to secure, maintenance fees can be split, commodity fees can also be split which makes it very affordable to have good infra (high speed internet, central heating, automatic post boxes etc), concierge services become an option. Then superb views, lack of surrounding noise, clean air are advantages on the higher floors.
I say that as a kid who grew up in houses and wildly prefer appartments as I moved away.