AMD keeps some older generations in production as their budget options - and as they had excellent CPUs for multiple generations now you also get pretty good computers out of that. Even better - with some planning you'll be able to upgrade to another CPU later when checking chipset lifecycle.
AMD has established by now that they deliver what they promise - and intel couldn't compete with them for a few generations over pretty much the complete product line - so they can afford now to have the bleeding edge hardware at higher prices. It's still far away from what intel was charging when they were dominant 10 years ago - and if you need that performance for work well worth the money. For most private systems I'd always recommend getting last gen, though.
It helps not having a computer with specs from a decade ago.