I own a perfectly functioning 40D from 2007 myself, which I replaced by a Sony A7III just recently, as I hate the fact, that Canon tries to force their customers to buy their own expensive RF lenses.
Of course cameras are impressive pieces of technology. Still I understand the sentiment of the above commenter. My last comment was an overstatement, still there is a substantial chance of a hardware failure.