Up until about a month ago when I bought a Mac Studio, my main machine was a 12 year old iMac. It was maxed out when I bought it, and it's still fairly usable. The downside is it's stuck on High Sierra and won't run Windows 10.
I buy my computers basically maxed out, and use them literally forever.