So it's between an i5 and no GPU or a G4560 and a strong GPU?
Ultimately, it depends on your needs.
That being said, there's very few situations where the i5 alone will outperform a G4560 with a discreet GPU. The G4560 is fairly strong for what it is, and if you're gaming - paired with a 1060 (or even a 1050TI) would be the hands-down winner.