You'll get a lot of false positives, but generally you really don't need to worry if you aren't on some shady Russian site call xxxfreegamesxxx or some shit
If you don't know how to safely pirate games or indeed any media in 2024, it's 100% because you don't know where/how to look.
I recommend starting at the aptly named Free Media Heck Yeah. It started as a project on Reddit piracy and internet freedom forums but is now a gigantic independent repository of all kinds of free media.