I have a 35 years old trac house that is fairly nice build , but I did find exceptions. Decent Supply panel and appropriate gauge copper wire and decent grounding including multiple earth ground rods. However the inside was finished with subpar duplex outlets.
We don’t think of breakers as wearing out but they do. 40 years is a very good run for breakers, especially if outdoors. I replaced most of mine at 15 years and added a whole house surge suppressor. Hopefully this means I don’t have to think about this for 30 more years.
Standards have changed though. While not required to come up to modern code I did, replacing indoor circuits with CAFCI and GFCI where required.
This house was a rental, though rented to adults and service members. After 15 years of use, and several rounds of painters doing goodness knows what to the switches and covers I decided to do a whole-sale replacement of every wall switch, GFCI and almost every outlet in the house. Glad I did, I found a number of issues, and signs of prior arcing and resolved some "haunted" lights.
You don’t have to go that OCD on your home, but this stuff is why I think that the bare minimum you should do is get a 3 light AC outlet tester and make sure things are wired as they should be.
In addition to prior improper maintenance, light switches and outlets DO wear out as well.