I've been saying it for ages, once you have a 4090 class GPU even with some games with maxed out settings at 4K the CPU matters a lot these days. I didn't want to change platforms yet so over a year and a half ago I went from a 5950X to a 5800X3D because the 5950X even at 4K was holding it back in some games and the averages went up by a decent amount as well as the minimums, plus it was able to keep the GPU pegged at 99% far more often. So even at 4K don't cheap out on a CPU even for 4K gaming.
For example The Division 2 maxed out in the White House area my 4090 on a 5950X struggled to pass 90% GPU usage, the moment I popped in a 5800X3D my GPU without any changes to the BIOS or Windows kept the GPU pegged at 99% without issues and gave me a nice average FPS increase.
Here's Far Cry 6, the 5800X3D walks all over the 5950X and again, no BIOS or Windows changes, just popped in the new CPU and booted the game up, massive performance increase and this game was running fully maxed out at 4K. If I was to go for a newer 7000 series or the latest Intel chips then this would be a bigger jump again because the GPU in this game is still being held back by the CPU.
This is only going to get worse once the 5000 series cards are out and a 4090 becomes a higher end 5070/5080. These days GPUs are so fast that 4K is not a difficult resolution to run anymore and it needs a lot of CPU power to keep these fast cards fed properly.
I seen a pretty massive boost in frame rates with a 3080. I’d say with Nvidia midrange onward buy the highest performance CPU you can. With a 4090 build a 7800X3D probably should be target or even a 7950X3D.