We tend to keep Macs forever. My son is still using my old maxed out 2012 1st Gen retina MacBook Pro 15" (OS Catalina?). My two daughters have my old 2014 MBP 13" and MBP 15" respectively (both maxed out). They all get the job done.
My 8-core Intel i9 MacBook Pro 16 inch from March 2020 is still very fast and useable on Mac OS 12.6, and with 32GB RAM/2TB SSD plus 8GB VRAM I hope that it will have many more years left in it.
Our late 2015 iMac with 4-core i5 still runs great, because we upgraded from 8GB RAM to 32GB 2 years ago, and upgraded the 1TB fusion drive to a 2TB SSD at the same time. So it's very fast and responsive in Mac OS 12.6 as well. It definitely bums me out that Apple won't support it in future OS updates, to run Ventura when we end up updating everything else to stay current. This is the Mac that has the 8TB iTunes library drive plugged in all the time, and sits in the kitchen 24/7 for whomever need to use it when they are on the main floor - other Macs in the house can access the iTunes library over the network.
However, my old 2013 MBA with 2-core i5 and 8GB/512GB is a bit slow. Maybe it should have stayed on Mac OS X instead of OS 11. Or I may need need to do a clean install of Mac OS 11 to see if all the old legacy extensions and background daemons added over the past decade of OS upgrades have clogged things up. This has been the Macbook that's so light that I would carry it around the house when I'm doing stuff that needs more than just an iPad.
Having USB 3 and Thunderbolt, with SD card reader keeps the old MBA useful with todays peripherals, and I'm thinking of sending it to my mom. She is still using a 2011 MacBook Air 4GB/128GB with USB 2.0! for syncing her iCloud so it matches what's on her iPhone but with a bigger screen. With its new battery she could use it for several more years for what she needs to do with it.