I've always bought my games on steam or OFFICIAL key resellers (GMG) since I was an adult, but sometimes it has got really expensive.
Do you consider 'cracked games' safe for your PC, your data, and finally your privacy?
You should always support developers, but it's not always possible.
Probably G2A you're thinking of, I'm pretty certain GMG are official.