Do you have kids? I feel like apartment living as a family is worse than a spacious single family home and yard and all that. I suspect that preference holds true for most people.
Apartments can also have stuff you could never afford that a kid would like, such as a massive pool (try pricing out a new build pool these days).
And families do it in NYC, and Hong Kong, and Germany, and Spain (AFAICT, 65%), and…
Think about having to share a bedroom with your child, and when they're old enough to need their own one, putting up a partition wall and having each be less than half the size of a normal bedroom, very cramped. And you don't get a living room. (If you did have a living room, now it's your bedroom while the child gets the actual bedroom)