I'm not sure I understand, you said before you were prioritizing value and longevity. AM4 is the value king, and will last for many years into the future, especially as you have an affordable upgrade path to the AM4 X3D CPUs.
AM5 would only be a meaningful upgrade if you had fairly specific requirements, which would be if you prioritize low resolutions for high FPS monitors (with at least a 180hz refresh rate or above), and were able to also afford a top end GPU so that the CPU and RAM actually become the limiting factor for what the framerate will be.
Is the above scenario what you are targeting? Because if not, an average or good value AM5 system paired with the same GPU you have now would result in very little difference in actual performance, since most games will max out your GPU long before the CPU or RAM speeds can even come into play, and that will hold true going forward as well, since future games are going to be pushing the GPU harder and harder, meaning that is almost always going to be your bottleneck unless you lower the resolution to like 720p and put the graphics on low.
The PC industry is always going to try to push a sense of FOMO onto you for not having the latest system, but in practice old systems last a long time now that Moore's law is effectively dead, and the pace if improvements has stagnated. We're now in an era of computing where systems can effectively last virtually a decade between upgrades, and prioritizing the latest and most 'future proof' system now may only put off the need to upgrade by a year or two at most, meaning it may last 11 or 12 years instead of 10.