Bang for the buck, Macs. Solid builds, last forever. I had a 2013 Air that I finally replaced this year with an M1. No PC I have ever had ever stuck around that long.
Second this. I threw Linux Mint on a 2012 Macbook Pro and have been happy with it. Had to install wifi drivers, but it was the last model with ethernet, so it wasn't a big deal.
I have a Xps 13 from 2015. Still running well. I just need to replace the battery. The secret is the OS. I use linux, mac has a very similar OS. Laptops with a good OS can easily last a decade (with the exception of battery). I still have an hp from 2006, that I intensively used for work until 2013 with linux, that is still working. I had to change it because the wifi wasn't working, otherwise it is still fine.
Meanwhile my current hp work laptop, valued over 2500 $, with windows on it, was already broken after less than 6 months. It is a completely shitshow. Unfortunately my current company doesn't support any better OS.