Fluid maintenance and fixing any issues as soon as they arise are the key to longevity from any vehicle.
Trans fluid, p/s fluid, oil and coolant can not be serviced too frequently, most manufacturers “recommended” service interval is way too infrequent imo.
No vehicle has ever died because it was maintained too well.
There’s always a chance of aftermarket parts being bad straight from the box, in this instance however that’s probably not the case.
The fact that the ECM set a p0420 means the O2 is functioning, in all likelihood the cat was bad already the ECM just didn’t know it due to the O2 sensor failure.