I used to wfh a day or two a week when I was full time. As others have said, it was often better when I needed to finish something that needed concentration, but at the same time, I don't think it's fair on students if academic staff aren't available when they need us. Not everything can be done on email - sometimes a friendly face makes all the difference.
It's also important that staff can meet one another from time to time - mostly formal meetings are fine online, but it's often informal chats that throw up good ideas and collaborative working. I think that hybrid working is better than exclusively 'in the office' or wfh.
These days I only work part time and in a different role. I am almost exclusively at home - going in is entirely at my discretion, and it doesn't really matter to others whether I'm there or not, as my role is very well defined and doesn't need interaction with others that can't be done via email or telephone.
My children both wfh during Covid, and I'm less convinced that it's great for younger people - many of them meet life partners at work, and work can be a good place to make social friends, too. My son lived alone during lockdown, and didn't see anyone from one day to the next, spending all his time online. Now lockdowns are over, he splits his time between home and office. He manages a department, and asks the same of his team - everyone comes in for one set day a week so they all know they can find one another on that day, and they each choose their other wfh day to suit themselves. I think he's quite laid back about it - if someone wants to be in for the gas man or whatever, it's fine, but the expectation is that everyone is in at least twice a week.
My daughter and her partner work in the same office, and split their days in so that the dog has company for most of most days. That works for them (and the dog!), but they don't have a commute - they are able to walk to work, and that makes a difference.
I think it's horses for courses - nobody knows what's best for other people, and I really don't understand the way in which many people see the need to comment or even think about the work patterns of others.