I’d make sure your power supply isn’t shit. Dell is notorious for that. If it isn’t, make sure it had the power plugs for a newer GPU. You will need at least 1 6-8pin power, maybe 2 depending on the GPU you choose.
The CPU is ok but could bottleneck some games. The RAM is sufficient. 16gb...