Yup, 5600x will be great for gaming
In 2020, in 2022 when the games begin to ask for 8 cores or more it won't.
Always have some spare cores for other services like streaming, Windows Update, virus scanning, other apps running in the background, etc...