On the development side, I also think there are benefits to being in the office. I sit right by my bosses, bosses, boss. He's very busy, but we still have small talk. When it comes time to promotion, there is very real benefit to having that relationship, whether you like it or not. Now I am more goal oriented where I see promotions as a sign of success for myself. Not the case for everyone, and there is nothing wrong with that.
Now the thing I hate about the conversations of working in the hybrid/remote world is the emphasis on making remote workers feel included. I have nothing against people who choose to work fully remote, but a benefit to being in the office is that its easier to connect with people. That's why I do it. Just like there are benefits to working from home, this is one of the benefits of working in office. I feel like this often gets overlooked and people are surprised that they feel disconnected when they aren't in the office. I have become good friends with my coworkers who also go into the office, and barely talk to the who don't.