I think we just have to accept that some people like an office, depending on the office, the commute, their job, their personality, phase of life, and current circumstances.
I'll be dragged kicking and screaming back into an office, and would only ever consider an in-person role as a stopgap measure while I job hunt.
I just also think its fine for a company to say "look, the way we work is [remote/office], and if you want to work a different way find a different company if that's a deal-breaker".