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.
They have a small part of the market, they very much can not afford to have an entire generation of chips that have memory channel problems, have less performance then the gen before for the first 6 months and costs more then their competitor.
If they keep making zen 3 until this phase of insanity passes then good, but this chasing pointless gains at the cost of everything needs to end.