I have worked, in order, in a no WFH open office, yes WFH with private cubicles in the office, and yes WFH open office.
#1 was terrible. In the case of #2 while I could WFH, I would deliberately make it to the office at least 4 days a week because I was so much more productive. And #3 has me staying at home when I want to work, and showing up in the office when I want others to know that I am working.
Take away the nonsensical open office system (which may work great for jobs which are almost completely collaborative at all times, but are terrible for most jobs) and an office which provides some privacy is actually pretty awesome.
You get to control your interactions with coworkers, and are far more efficient interacting when you really need to.
If it was a bad commute I probably wouldn't have gone in either, I'll admit. But for the me the commute was actually one of the reasons I went in; it was about a ~40 minute walk, which "forced" me to get some regular exercise and fresh air.