Assuming they're talking about Movie Thanos, not Comic Book Thanos...
Thanos didn't want to kill people because they're stupid. He wanted to kill half of all living things to conserve the universe's natural resources.
I believe it was Ultron who wanted to exterminate all human beings after downloading the entire internet into his memory banks.
</pedant off>