On top of that, goods are not built to last because that would interfere with profit making. Socialism will be a very different society. Goods will be built to last. People may decide that they have better things to do rather than produce goods that are widely seen to be extravagances. And people may discover that more material goods don't make them happier.
Society already has the knowledge and technology to satisfy all of our basic needs sustainably.
There is every reason to believe that socialist society will supply every human being with all the material goods that they need for a comfortable, pleasant, enjoyable life. The environment that is pleasant for human beings is being destroyed because of economic factors inherent in capitalism. At best, with the best intentions of everybody, capitalism can only do too little, too late. Government cannot stop the destruction, it can only slow down the worst of it for a while. If environmental protection rules make production less profitable, then production may move out, the economy will take a nosedive and the environmental rules will be relaxed.