Intel 19-14900k vs Ryzen 9800X3D Question

Edit: thank you all for your input and discussion. I am sticking with the 9800x3D. I am newer to PC Knowledge. Built my first PC in 2017. It’s one thing for me to know how to piece one together. But expanding my knowledge to what each component does in terms of performance is what I’m expanding on. Thank you all again for the non judgmental discussions!

————-

So my main goal is to upgrade my daughters pc

I have an Intel i7-14700k CPU, DDR5 Ram, with a 4090. I play in 4k on a 32’’ Oled monitor

I will be giving her the 17-14700k cpu, mobo, and memory

I was able to order the 9800x3d, but I am having second thoughts on not getting the 14900k

I’m kind of confused. I saw some recent real work benchmarks. It seems as if the 9800x3d performs similar to the intel i9-14900k. If that is the case wouldn’t I be better suited to go with the CPU esp with more cores etc? Or am I missing something ?

I basically only use my pc for gaming, but if it is similar then why not have the extra cores etc.

Genuine question and do not want to get in a fan boy battle either way. I just want to know which I should do.