All true and one of the reasons I try to understand everything I own or to some degree.The thing about repair is that it does have it's own environmental consequences. Firstly you need to ship the broken machinery to a repairer and back. Also the cleaning products may be far-from green, and you need to keep a stock of spare parts that need to be made. Is it better to send someone a new unit, or have someone send back the old one - have it repaired - and then ship it back to the customer? - all to keep older tech going that may be less efficient than it's replacement. Sometimes you only buy a short time, because it's basically worn out, so the environmental cost of resus is actually a significant component of the environmental impact of a product that really ought to be replaced.
It is not always as black-and-white as people seem to think.
I own very little that I cannot conduct basic diagnostics and repairs on myself. If something of mine breaks, I will be able to figure out why, and I will be able to make an informed decision on whether the repair is worth my time, or someone else's time for the uncommon cases when they might be able to do a better job, or the same job for less.
This seems to be an uncommon sort of thing and by and large, people are far too willing to replace what could easily be repaired and returned to service, often defaulting to replacement purely out of ignorance.
I have a pile of fairly decent laptops (nothing too high end, but enough that I can make sure everyone in my wife's large extended family always has something suitably practical) that originated from my wife's co-workers and students. They, like many computer illiterates (and computer illiteracy is on the rise...as something enters the mainstream, the expectation that anyone need know about it's inner workings to use it vanishes) are at a total loss when something goes wrong, and falling costs of electronics has made replacement competitive with professional repair. I give out free advice, but as often as not these people would rather sell me their stuff when it's due to be wiped OS reinstall than pay someone to do it...on the dubious assumption that something new and shiny will be able to overcome habitual user error. So, I can wind up with something that would still retail for several hundred dollars and all I have to do in exchange is salvage some files.
Of course, some things are beyond hope or have reached the end of their utility and need to be replaced. The trick is knowing the difference.