Consider a suitable motherboard for your needs.
5600G is merely less optimal overall, though it includes an iGPU that isn't necessary, making it not the top option