It is not a simple as you wish it to be. Preventing people from working can lead to poverty and starvation, and ultimately death.
This is exactly what I was thinking, for the most part things are never as simple as people think they are, it could be incredibly easy to say that everyone should stay home for months and that will be enough to stop the virus if everyone followed that guideline, however despite the appearances we do not have the resources to do that, who is going to produce the food, or the other hundreds of products and services that are necessary to maintain our living standards? And once you try to answer that is when you realize that you cannot send people home forever.