There’s nothing outdated about it. It outruns most AM5 CPUs where you actually need the speed, it supports plenty of IO, it supports AVX2 and all sorts of platform features.
And it’s not that expensive if you can re-use RAM. Especially not expensive if you can re-use the mobo.
Full disclosure: I have a 7800X3D now. But I wouldn’t notice the difference if I had an 5800X3D 97% of the time; there’s literally one my sibling has that does all the same things, running a 7900 XTX GPU no problem.
I would certainly prefer a 5800X3D to a 7600 or even a 7700.
I don’t really see a point on upgrading it till AM6 either.
There are certain things RAM bandwidth disproportionally helps with, but these are pretty niche.