There is, admittedly, some merit to the argument that the new right to repair rules for domestic appliances, which are set to be enforced in the EU and parts of the US, may mean fixing old and inefficient machines when replacing them would actually be the more environmentally friendly option.
However, we should be wary of exactly who is pushing that case. If it's the manufacturers, then replacement rather than repair is all too convenient. Planned obsolescence - the sly capitalist tactic of compelling consumer spending by deliberately making products with a limited lifespan - is scandalous given our current environmental predicament. If the rules can help to curtail the practice, as well as making it easier and cheaper for people to get appliances repaired, then they'll be very welcome indeed.