Constant freezes in TBC and Shadowlands

Ping has never gone above 30 and generally sits around 20, but every few seconds even in low populated areas my game freezes up or lags, before everything teleports of happens all at once, then goes back to working perfectly before doing it again. Any suggestions? Windows is updated and so are all my drivers, also just did a repair on both game versions.

Make sure to include diagnostic files so suggestions can be made.