IPC gains occur between successive generations. A 9900K clocked at 5 Ghz is not the same as a 13900k clocked at 5 Ghz.
It might be helpful for you to take a look at benchmarks.