Steam, case in point. You can find cracked games fairly easily, there’s even games entirely lacking drm that could be passed around effortlessly
But steam is very convenient, the prices are reasonable, and they have good customer support. That’s enough that even people who pirate switch games buy pc games on the same device