I legit cannot remember the last time I got a virus pirating a game. Probably in the Limewire days, ~20+ years ago.
So, anytime people say this, I’m compelled to remind them: Unlike movie depictions, malware is generally incentivized to not be apparent.
You install something, they infect, and then they do their best to ensure you don’t know that for the next few months, if ever. Meanwhile, anything as subtle as key logging or checking wifi-connected devices can give them info for some other attack.
So, I can only say I hope I don’t have a virus right now - but I don’t really know. And I’m pretty sure those pirating groups have profit incentives beyond littering their sites with ads.