Well, it's not that easy to answer. It depends on what you want to do with your PC.
If you have bought a new high-end GPU like an RTX 3080, then I would definitely go for the 5600X.
If you surf the internet a bit and watch the latest videos on YouTube, then you can save yourself the extra charge, because you won't notice any difference.