I don't mind an actual good office. An office needs to be designed around the kind of work being done, and workers in it. If you need people to do deep work, they need to be able to put their head down for hours at a time and dive deep without being constantly distracted by cross-room banter, or random co-worker interruptions. If you want people to collaborate on a single screen you need to cubes/offices big enough for additional people to pile into comfortably. A one-size-fits-all ever shrinking cubicle is likely not the right design for a lot of workers. WFH is not the right fit for all kinds of work either, but often it is better only because offices are so badly designed. I have seen very few examples where the workers actually got real input into how the office was designed or configured.
An exception was when I talking with Barry Gilbert (RIP) at Analog Devices about 15 years back. He designed his office around what he thought design engineers actually needed. This meant physical offices with a closing door. Door closed, leave me alone, I'm doing deep work. The lab spaces was in the center so that you walked out of your office and had easy access to the lab space. It made a lot of sense, and reminded me how how bad every other engineering office I have worked in has been designed. Cubes have shrunk to 8'x8', walls are shorter and less sound proof. People fear making noise so they don't collaborate, and when you do you indeed distract many coworkers. My lab space is usually on the other side of the building, if not in another building. Short walls mean I have bright lights in my sight line right now that fatigue me when doing intensive IC layout work.
Would Barry's office design for marketing? Unlikely. For software design? Not likely. But generic cube-ville is likely mediocre to bad for almost everyone.
My rambling point is that I think there is a huge amount of wasted productivitiy when it comes to how we do our work, and it goes well beyond WFH vs in-office. If I could get a quiet environment when I needed it without resorting to noise canceling headphones or hiding in a conference room I would be much more pro-office. If it wasn't so exhausting to collaborate on on visual discussions around the circuits I design I would be more pro-WFH. Instead I am pro-retirement.