I've mentioned this before, but WFH has a huge difference in result depending on who you are, when you are (in your career), and where you are in a company (or organization).
For some people, going back to the office has benefits.
-- For the budding young developer who can't wait to show ideas to teammates and demonstrate being a go-getter by asking random questions and finding unaddressed issues to innovate on, WFH might be terrible. You're going to schedule time to fortuitously run into the senior person who takes an interest in your idea?
-- For the working parent whose productivity has been slashed by 50% and stress has gone up by 50% due to parenting obligations, WFH might be terrible.
-- For the middle manager who can coast along and not need to move greatly in his/her career, WFH might be great.
-- For the developer who works by tickets on very concrete things and this is nothing new, WFH might be great.
-- For the small company CEO who relies on force of personality and everyone in the same room urgently working to get something done, WFH might be terrible.
There's a huge variability in what WFH means, depending on what you want from the situation.
For some people, remote working is really not good.
And also count your other hidden factors -- when everyone is remote, you're also competing with the world who is also remote. Jobs and job qualifications (and competition) may change. You might still have a job if people have to go back in person...
This is not just "those evil exploitative bosses want to get us back in offices". It's not that simple, as with anything.