The Ryzen 7 2700X chip I bought back in 2018 is still fairly close to the latest Ryzen 9 chips in terms of single-core performance on benchmarks (within 10% IIRC). The Ryzen 7 is an 8-core (16 thread) CPU, and now you can get 12 or 16 core Ryzen 9's, but most workloads don't take proper advantage of even an 8-core machine.