Offices are absolutely the worst places to get any work done. Open plan, lousy kit, noisy, managers who love meetings. Add to that expensive to get to (time & money), expensive to eat nearby, terrible coffee, having to wear pants. I could go on.
I have family, kids, who I need to take to and from school, and prepare meals for. I have real friends, not office friends (although I have made lasting friends through office-based work).
Remote only for me. I'm starting my fifth remote contract next week and it's far more interesting work than anything I could get locally.
For context, I've 25yrs as a software developer, 20 of which doing contract work, and since 2020 fully remote. I'd guess I've worked in about three dozen different offices.