PC Freezing Randomly

Specs:

Ryzen 5 5600x

32GB DDR4 with XMP on

RTX 3070Ti

Game installed on NVME

in-game resolution: 2560x1440

I'm having trouble with this game just hanging my computer. When I played the demo for this game, I don't remember this happening. However, after buying the game from the latest Steam sale, I noticed the game would freeze my entire computer, causing it to just hang, requiring a hard reboot. I've only experienced this with another game, that being POE2. I've tried searching and tried a couple of troubleshooting steps.

Removing the shader cache for both Nvidia and the game

Running SFC and DISM.

Verifying the game's integrity.

Using FSR instead of DLSS.

Quitting iCUE's software for my Cosair peripherals

I've run out of ideas to try to stop this game from freezing as I'm having a great time, but it's seriously just this game and POE2 that are completely hanging my PC. I understand my PC isn't top of the line, so I don't expect it to be super performant, but even STALKER 2 isn't just outright causing the computer to go into a hard freeze.