My 2011 21.5-inch iMac with i7 chip, 8GB of RAM and 1TB HDD is beginning to slow down but still works. However, it can no longer be updated to the latest Mac OS. Given its age, it's probably time to replace it.
But my budget is not unlimited and cannot handle a completely maxed out 2019...