Marx didn't think so. Marx said a classless society has to be based on highly-developed capitalist society, which means everyone will be equally rich (not poor). The society must be able to provide as much materials to everyone as needed. He repaetedly said poverty is not socialism or communism.
Wealth is created by individuals who employ their capital to make more capital.