If you're not against supporting Apple, their laptops always seem to have the most longevity. I am still running my M1 with 8G of RAM and it out performs the latest "top of the line" Windows laptops my work are handing out.
Prior to this one I had a MacBook Pro for about 7 years and before that one the black plastic MacBooks from 2007.
So three laptops for the better part of 20 years.