What will the GPU you're looking to purchase be taxed with? Gaming? If so, you should specify the monitor resolution/refresh rate and the titles you wish to tax the GPU/system with.
On second thoughts, passing your current system's specs would help us two fold. Please list them like so;
CPU:
CPU cooler:
Motherboard:
Ram:
SSD/HDD:
GPU:
PSU:
Chassis:
OS:
Monitor:
include the age of the PSU apart from it's make and model. BIOS version for your motherboard at this moment of time.
If it's between the two listed above, internal clearance/PSU and budget issues were out the window, logically, I'd get the RX7800XT. Another question would be, what AIB are you looking at? If you included your location and your preferred site for purchase, perhaps we could provide another suggestion?