I tend to keep my laptops for about 6 years, like the OP. But since I'm an Apple guy, the lack of upgradeability in Macbook Pros means I'm stuck with how it's made for the entire lifetime.
I usually bump the processor up and double the memory. My Early-2013 Macbook Pro Retina 15" has an Intel Core i7-4850HQ @ 2.30 GHz and 16GB of memory. Those were pretty decent specs for 6 years ago. I probably spent about $2500-2800. Over 6 years, that's $425-$470 per year. It still runs well, even when I don't close all of my Chrome tabs. I don't need a new one, but I'll probably get one in the next year or so.
I'm looking at the Macbook Pro 2019 16" ($2399) with the 2.4GHz 8-core 9th-gen i9 CPU ($300), 32GB RAM ($400) and 1TB SSD ($200) for a total of $3300 plus tax. Over 6 years it will cost me about $550 per year. If I use my Apple Card, I get 3% off ($100), or I could pay over 18 months with no interest (Apple Promo).
I wonder if I could buy it on Amazon with my Amazon Prime Chase card and get 5% off... :-)
Or sometimes B&H has good deals too.
In the end, I could spend $1500 on a laptop that would last me 3 years, another few hundred (thousand?) to upgrade it, but I'd have a PC (Windows or Linux) and, well, I'm kinda enjoying not being the administrator for a Linux Laptop, and there's not a good reason to move to Windows.