Everybody calm down
Reading the comments, too many commenters are suggesting there is one answer for every job, every company, every day of the week, every person.
As a few have said some jobs can be done remotely, some jobs are better done part in the office (to meet with people) and part at home (to allow concentration), and some need to be at work... assembling cars, for instance.
Then there is the balance between types of productivity... short term, and long term mostly. Yes, staying at home to finish this dev project for 2 months will get that project done faster (let's say), but not going in to the office for 2 years means you lose track of what the company is about, by not meeting the people that are the company. Sometimes standing together at a white board gets the job done better.
And no, typing on slack/teams/whatever does NOT replace face-to-face conversation in all ways.