Good for you. I'd rather be in my office. I like delineating working space from fun space. I've worked a day a week from home for a few years. Every time I think it'll be a Good Thing and every time I regret it. And that doesn't lead to particularly good productivity.
I have a desk job. I spend a lot of time sitting. Who's going to shell out for a nice desk + chair? Who's going to pay for my internet connection? Heating costs?
Lots of problems can be solved by walking over to a colleague. More problems than I can think of are caused by remote working, including code quality.
You probably have the opposite point of view. Everyone's different. For lots of people an office is more suitable. For lots of people home is suitable. For lots of people a mixture. We do need offices.