Games Crashing due to Direct X

Every time I play older Call of duty titles even some newer ones I get hit with a non descriptive Direct X error.
direct X

This is not the only error I receive as there have been countless others all stemming from and around Direct X being the problem.

I’m suspecting that my CPU is dying and I’m not sure how to actually figure out what the root cause of the problem is.

My Specs are: Intel i9 13900k, Founders RTX 4080, Corsair 360mm AIO, Aorus Elite AX z790 (Bios Version F12f), 2x16gb DDR5 RAM, Windows 11 Home.