For most people, the electricity wiring in their walls in their houses are way older than any power cable. Sure they might be more "protected" by being hidden inside walls, but in the end they are the same copper wires with the same shielding, just thicker. If they can last forever in your walls, which most of them do, so can your PSU cables. Unless you bought some really suspect cable special which you shouldn't use at all in the first place. Just like how you shouldn't cheap out on your PSU, don't cheap out on the cable if you ever need a replacement.
While it is true that the copper wiring used in electrical wiring for homes is generally thicker and more protected than the wiring used in power cables for electronics, there are still several reasons why power cables can wear out and need to be replaced.
Firstly, power cables can become damaged from physical wear and tear. Over time, the cables can be bent, twisted, or stretched, which can cause the wires inside to fray and break. This can result in intermittent power supply or complete failure of the cable.
Secondly, environmental factors can also contribute to the degradation of power cables. Exposure to extreme heat or cold, moisture, and sunlight can cause the outer insulation of the cable to crack and deteriorate, which can expose the wires inside and make them more susceptible to damage.
Lastly, it's worth noting that not all power cables are created equal. Cheaper cables may use lower-quality materials or have inferior insulation, which can make them more prone to wear and tear and more likely to fail prematurely.
Therefore, while it's true that power cables can last a long time, it's still a good idea to periodically inspect them for signs of wear and tear, and to replace them if necessary. Additionally, when purchasing a replacement cable, it's important to choose a high-quality, reputable brand to ensure that you're getting a cable that will be reliable and long-lasting.