7800x3d vs 9800x3d?

I’m building my first PC and feel a bit overwhelmed with the technical info.

I’m looking at CPUs and while I heard that the 9800 is the latest and greatest it’s also sold out everywhere.

However I see several bundles with the 7800 on newegg and plenty of stock.

Is there a noticeable difference in performance between the two? I do mostly single player games if that matters and plan to hunt for a 5080 GPU or a 40xx super TI.