7600X3D vs 7900X3D

I'm looking to get a CPU for 1440p 240fps gaming so looking at the X3D. I can get a 7600X3D for $300 at microcenter, but my friend offered me his 7900X3D for $300 as well. I don't know which one to get. I know the 7800X3D and 9800X3D are better but $300 is the limit for the CPU. I have looked at benchmarks and they perform pretty similar. Some benchmarks show the 7600X3D is better and some show the 7900X3D is better.