Many good companies have embraced the benefits of both. Some people are genuinely happier working from home. I know plenty of companies now doing a "book-a-desk" set-up to allow those that want to work from the office to go in whilst maintaining social distancing and enabling others to stay at home.
I think WFH is great.
It saves my family a small fortune in childcare. My husband works from home and takes his lunch break and goes to pick up our children from school. I don't have to rush home from work. Our children being ill no longer means that either one of us has to take the day off work, just set the kids up in bed, with the telly, and check in on them. My dog is happiest of all as she is never alone. My husband does now go out for a drink with friends or colleagues once or twice a month, where that was almost unheard of previously. With the saving on fuel, childcare, and his expensive lunch habit, it still means we are up at the end of each month when WFH. It does help that my husband hates most of his colleagues though, so he doesn't miss working alongside them.
My BIL has done amazingly well out of it. He used to travel an hour to work each way, 5 days a week to a job he tolerated. With the move to WFH, he was able to transfer to a different department within the same company at the other end of the country to a job he does enjoy. He also gets to walk out of the home office at 5 pm and not miss a moment more than he needs to of his small children.
Anyone suggesting going to a public place to work from home, I would really like to know what industry you work in. None of my family members or friends that have worked from home could possibly do this. We once joked about setting up a home hub with the 4 people in our family able to do this, however, two of them worked for different companies in the same sector dealing with customer information and suspected it would be against the rules. 3 out of the 4 couldn't even work in a room with a working Alexa.