In 2019 I decided I like to sit in my favorite soft armchair so I purchased a lenovo p53 laptop and fitted it with 128Gb of RAM - again hoping it will last at least a decade :)
The current one I use was bought in 2016 (i3/8GB RAM/1TB mechanical HDD) and still works absolutely fine. I use it for browsing, media consumption and light coding, about 12-15h daily. I guess it helps that I use a lightweight Linux setup; Windows would very likely give me more grief without at least investing in an SSD.
Some issues:
1. Battery is dead but I use it as a stand-in for a desktop machine anyway.
2. Webcam and mic are in bad shape. I rarely need them but when I do I use Droidcam. Even midrange phones have better cameras than top-end laptop webcams nowadays.
But I buy a really advanced laptop to start with. My previous laptop was a Lenovo T410 upgraded to a 2TB hard drive. Bought that in 2010, only replaced about 6 months ago with a Lenovo P53 with 4K screen and a total of 6TB of SSD and 32 gig of RAM.
Partly because I like geeking out on the latest stuff, and partly because laptops slow down, even MacBook Pros.
I use Linux (Current ARCH) with minimal bloatware so never faced any performance issues
I do replace it every couplefew (whatever the cycle is with work)