Take it from me. Unless you're making a huge jump in performance you will be dissatisfied with the results.
Spending $300 or $400 to get 10-15% bump in performance will be unfulfilling after the sparkle of the new CPU wears off.
I built a Ryzen 1700 system. Used it for a few years. Then went to 5600x during the covid supply shortages to feed my 3080. The 5600x wasn't enough of an upgrade so I went with a 5900x when I was able to. Then my $300 CPU became filler for a system that didn't need the horsepower. Now it's worth $100.
My advice is to wait and save up more money. Because in a year you will be in the same spot, wanting to upgrade. BUT, you'll be in the hole with this new CPU. There is no more upgrade path for the AM4 socket.
Back to some more advice. I would wait until the tail end of the 7000 series. More board and RAM choices and the technology has worked more bugs out. Hopefully, you'll be buying a 7900x for $300 by then.