I always take time to consider where the balance point is between replacing working, but less efficient equipment with newer, more efficient equipment.
It took materials and energy to produce the old one. I know electricity is expensive some places, but even then, sometimes the break even point is years in the future.
Despite all of this, I only realize its more complicated than I hope.
You know that producing that PC used way more energy than it would consume if you left it running?
> taking into account how much electricity rose in Europe
This seems like your main reason actually. Your wallet, not the environment. If the energy prices went down, you would have kept the old PC around rather than having it end up in a landfill or shipped to a poor country where people literally burn the PCBs to recover tiny bits of rare metals.