Why do people say thanos is a hero

Im tired of hearing people say that thanos is the good guy and the avengers are the bad guys. That is simply not true

Why people think thanos is the good guy
People think thanos is the good guy because hes supposedly trying to save earth from the same fate as gamoras planet. Which was overpopulation resulting in the demise of her whole race. So Thanos decided to go to earth, get the infinity stones, and wipe out half the people on earth

Why Thanos is the villain
Albeit his intentions were for the greater good of mankind, the way Thanos went about solving this problem proves exactly why hes a villain. He believes that the only way to save earth is to cause a mass genocide. There were other ways he couldve solved this such as moving people from earth to a new planet and helping them colonize there so as to avoid overpopulation. Or he couldve created another eartg.