My PC frequently crashes when playing BG3. After the crash the PC reboots and can't find the harddrive. If I wait for an hour and turn the PC back on it works just fine. This all seems to be an overheating issue.

My PC is already five years old so it might be time for an upgrade.

My specs:
Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 CPUs), ~3.2GHz
Memory: 16384MB RAM
Motherbord: TUF Z370-PLUS GAMING II
Videocard: NVIDIA GeForce RTX 2070 (8GB)
Harddrive: SSD 500 GB

I'm thinking the first priority should be getting a new CPU. Anyone got any thoughts? Or should this system be sufficiënt to run BG3?