I favor premium products/brands, specifically those known to be reliable, and marketing nonsense doesn't stand a chance against my level of skepticism so I tend to hang on to my electronics for a minimum of five years and generally much closer to 10. Love technology, like getting my money's worth even more.
Phone's almost 8 years old.
2.1 desktop PC speaker system, which punches way above its weight, is nearing 30 years old.
Sony 5.1 audio receiver and speaker system is nearing 15 years old, waiting for HDMI 2.1 receivers to mature before I replace that.
Used to buy all the popular consoles on launch day, barring a couple of exceptions. All are in my closet. They rarely, if ever, get hooked back up so I guess it depends on how you want to look at it: 5-7 years vs 20, 30, even 40+ in Intellivision's case. Consoles aren't appealing at all anymore, haven't been since 2013 and will likely remain that way until they break away from the stifling UN agenda.
My two previous TVs were fried after 9 and 10 years respectively, power surge after a blackout got my Sony Bravia and suspect that might have played a part in the Sharp Aquos death, too (which made me realize most surge protectors are indeed a scam, don't offer the required protection). The 3 year old LED Samsung in the living room might make it up there, 1.5 year old QD-OLED in the bedroom almost certainly won't.
PCs get replaced about every five years. DDR5 delays and covid stupidity pushed the last one to 6.5.
Last PC monitor survived 15 years of abuse. Current one's an entry level 4K holdover I'm itching to replace ASAP.