iTunes and the App Store are one answer, and they are a safe one. Beyond that, Steam and GOG cover most PC titles, while PlayStation Store, Nintendo eShop, and the Microsoft Store handle their respective consoles.
The rule of thumb is to download from the store that owns the platform. Sites promising paid games for free are where malware and account theft tend to originate, and they rarely deliver a working copy anyway.