The reliable answer is a legitimate storefront. Steam, GOG, the Epic Games Store, Humble Bundle and publisher shops all sell complete games, and GOG in particular specialises in DRM-free installs you keep for good.
If cost is the issue, look at free weekends, giveaways, subscription libraries and permanent free releases — there is a genuinely large catalogue available at no cost. Free demos and open betas are also worth checking before you buy.
Torrent sites are the opposite of a bargain. Bundles from unofficial sources are one of the most common ways people pick up cryptominers, ransomware and stolen credentials, and there is the obvious legal exposure on top.